bingo-stratum-testers 0.5.1 → 0.5.3
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/lib/testBase.d.ts +2 -1
- package/lib/testBase.d.ts.map +1 -1
- package/lib/testBase.js +1 -0
- package/lib/testBase.js.map +1 -1
- package/package.json +6 -6
package/lib/testBase.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { AnyShape, InferredObject, TakeInput } from "bingo";
|
|
1
|
+
import { AnyShape, ContextLog, InferredObject, TakeInput } from "bingo";
|
|
2
2
|
import { Base } from "bingo-stratum";
|
|
3
3
|
export interface BaseContextSettings<OptionsShape extends AnyShape> {
|
|
4
|
+
log?: ContextLog;
|
|
4
5
|
options?: InferredObject<OptionsShape>;
|
|
5
6
|
take?: TakeInput;
|
|
6
7
|
}
|
package/lib/testBase.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testBase.d.ts","sourceRoot":"","sources":["../src/testBase.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,QAAQ,EAER,cAAc,EACd,SAAS,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAIrC,MAAM,WAAW,mBAAmB,CAAC,YAAY,SAAS,QAAQ;IACjE,OAAO,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,SAAS,CAAC;CACjB;AAED,wBAAsB,QAAQ,CAAC,YAAY,SAAS,QAAQ,EAC3D,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,EACxB,QAAQ,GAAE,OAAO,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAM,
|
|
1
|
+
{"version":3,"file":"testBase.d.ts","sourceRoot":"","sources":["../src/testBase.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,QAAQ,EAER,UAAU,EACV,cAAc,EACd,SAAS,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAIrC,MAAM,WAAW,mBAAmB,CAAC,YAAY,SAAS,QAAQ;IACjE,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB,OAAO,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,SAAS,CAAC;CACjB;AAED,wBAAsB,QAAQ,CAAC,YAAY,SAAS,QAAQ,EAC3D,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,EACxB,QAAQ,GAAE,OAAO,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAM,yKAiBzD"}
|
package/lib/testBase.js
CHANGED
|
@@ -5,6 +5,7 @@ export async function testBase(base, settings = {}) {
|
|
|
5
5
|
return settings.options;
|
|
6
6
|
}
|
|
7
7
|
return await awaitLazyProperties(base.prepare({
|
|
8
|
+
log: createFailingFunction("log", "the Base"),
|
|
8
9
|
options: createFailingObject("options", "the Base"),
|
|
9
10
|
take: createFailingFunction("take", "the Base"),
|
|
10
11
|
...settings,
|
package/lib/testBase.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testBase.js","sourceRoot":"","sources":["../src/testBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,mBAAmB,
|
|
1
|
+
{"version":3,"file":"testBase.js","sourceRoot":"","sources":["../src/testBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,mBAAmB,GAInB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAQxE,MAAM,CAAC,KAAK,UAAU,QAAQ,CAC7B,IAAwB,EACxB,WAAuD,EAAE;IAEzD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QACnB,OAAO,QAAQ,CAAC,OAAO,CAAC;IACzB,CAAC;IAED,OAAO,MAAM,mBAAmB,CAC/B,IAAI,CAAC,OAAO,CAAC;QACZ,GAAG,EAAE,qBAAqB,CAAC,KAAK,EAAE,UAAU,CAAC;QAC7C,OAAO,EAAE,mBAAmB,CAC3B,SAAS,EACT,UAAU,CACsB;QACjC,IAAI,EAAE,qBAAqB,CAAC,MAAM,EAAE,UAAU,CAAC;QAC/C,GAAG,QAAQ;KACX,CAAC,CACF,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bingo-stratum-testers",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "Test utilities for Stratum Blocks and Presets. 🧑🔧",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"zod": "3.24.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"bingo": "^0.5.
|
|
28
|
-
"bingo-fs": "^0.5.
|
|
29
|
-
"bingo-
|
|
30
|
-
"bingo-
|
|
31
|
-
"bingo-
|
|
27
|
+
"bingo": "^0.5.3",
|
|
28
|
+
"bingo-fs": "^0.5.3",
|
|
29
|
+
"bingo-systems": "^0.5.3",
|
|
30
|
+
"bingo-stratum": "^0.5.3",
|
|
31
|
+
"bingo-testers": "^0.5.3"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=18"
|