@classytic/arc-testkit 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +0 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BootModuleAppOptions as BootModuleAppOptions$1, BootModulesInput, ModuleTestApp as ModuleTestApp$1, TestkitContext as TestkitContext$1 } from "@classytic/arc/testing";
|
|
2
2
|
import { Connection } from "mongoose";
|
|
3
|
-
|
|
4
3
|
//#region src/index.d.ts
|
|
5
4
|
type TestkitContext = TestkitContext$1<Connection>;
|
|
6
5
|
type ModulesInput = BootModulesInput<Connection>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@classytic/arc-testkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Boot a real @classytic/arc app around the module(s) under test on in-memory MongoDB — the ecosystem test harness. Thin Mongo-typed wrapper over @classytic/arc/testing (arc 2.22+). If your arc module boots green here, it composes into any arc host.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsdown",
|
|
27
27
|
"typecheck": "tsc --noEmit",
|
|
28
|
+
"test": "vitest run --root ../.. packages/arc-testkit/tests",
|
|
28
29
|
"lint": "biome check src/",
|
|
29
30
|
"prepublishOnly": "node ../../scripts/prepublish-gate.mjs"
|
|
30
31
|
},
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
"mongodb-memory-server": ">=10.0.0"
|
|
33
34
|
},
|
|
34
35
|
"peerDependencies": {
|
|
35
|
-
"@classytic/arc": ">=2.
|
|
36
|
+
"@classytic/arc": ">=2.23.0",
|
|
36
37
|
"mongoose": ">=9.4.1"
|
|
37
38
|
},
|
|
38
39
|
"keywords": [
|