bingo-testers 0.5.2 → 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.
@@ -6,5 +6,5 @@ export interface TestProductionSettingsBase {
6
6
  export interface TestTemplateProductionSettings<OptionsShape extends AnyShape> extends TestProductionSettingsBase {
7
7
  options: InferredObject<OptionsShape>;
8
8
  }
9
- export declare function testTemplate<OptionsShape extends AnyShape>(template: Template<OptionsShape>, settings: TestTemplateProductionSettings<OptionsShape>): Promise<Partial<import("bingo").Creation>>;
9
+ export declare function testTemplate<OptionsShape extends AnyShape, Refinements>(template: Template<OptionsShape, Refinements>, settings: TestTemplateProductionSettings<OptionsShape>): Promise<Partial<import("bingo").Creation>>;
10
10
  //# sourceMappingURL=testTemplate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"testTemplate.d.ts","sourceRoot":"","sources":["../src/testTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAmB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,WAAW,0BAA0B;IAC1C,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,8BAA8B,CAAC,YAAY,SAAS,QAAQ,CAC5E,SAAQ,0BAA0B;IAClC,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;CACtC;AAED,wBAAsB,YAAY,CAAC,YAAY,SAAS,QAAQ,EAC/D,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,EAChC,QAAQ,EAAE,8BAA8B,CAAC,YAAY,CAAC,8CAKtD"}
1
+ {"version":3,"file":"testTemplate.d.ts","sourceRoot":"","sources":["../src/testTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAmB,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,WAAW,0BAA0B;IAC1C,MAAM,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,8BAA8B,CAAC,YAAY,SAAS,QAAQ,CAC5E,SAAQ,0BAA0B;IAClC,OAAO,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;CACtC;AAED,wBAAsB,YAAY,CAAC,YAAY,SAAS,QAAQ,EAAE,WAAW,EAC5E,QAAQ,EAAE,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAC,EAC7C,QAAQ,EAAE,8BAA8B,CAAC,YAAY,CAAC,8CAKtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"testTemplate.js","sourceRoot":"","sources":["../src/testTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,eAAe,EAAY,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAW3D,MAAM,CAAC,KAAK,UAAU,YAAY,CACjC,QAAgC,EAChC,QAAsD;IAEtD,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEtD,OAAO,MAAM,eAAe,CAAC,QAAQ,EAAE,EAAE,GAAG,QAAQ,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;AACpE,CAAC"}
1
+ {"version":3,"file":"testTemplate.js","sourceRoot":"","sources":["../src/testTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,eAAe,EAAY,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAW3D,MAAM,CAAC,KAAK,UAAU,YAAY,CACjC,QAA6C,EAC7C,QAAsD;IAEtD,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEtD,OAAO,MAAM,eAAe,CAAC,QAAQ,EAAE,EAAE,GAAG,QAAQ,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;AACpE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bingo-testers",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Test utilities for composable, testable, type-safe templates. ⚗️",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,9 +30,9 @@
30
30
  "zod": "3.24.2"
31
31
  },
32
32
  "peerDependencies": {
33
- "bingo": "^0.5.1",
34
- "bingo-fs": "^0.5.1",
35
- "bingo-systems": "^0.5.1"
33
+ "bingo": "^0.5.3",
34
+ "bingo-fs": "^0.5.3",
35
+ "bingo-systems": "^0.5.3"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=18"
@@ -1,4 +0,0 @@
1
- import { SystemFetchers } from "bingo-systems";
2
- import { Fetch } from "./types.js";
3
- export declare function createMockFetchers(fetch?: Fetch): SystemFetchers;
4
- //# sourceMappingURL=createMockFetchers%20copy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createMockFetchers copy.d.ts","sourceRoot":"","sources":["../src/createMockFetchers copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAGnC,wBAAgB,kBAAkB,CACjC,KAAK,GAAE,KAAkD,GACvD,cAAc,CAKhB"}
@@ -1,9 +0,0 @@
1
- import { Octokit } from "octokit";
2
- import { createFailingFunction } from "./utils.js";
3
- export function createMockFetchers(fetch = createFailingFunction("fetch", "an input")) {
4
- return {
5
- fetch,
6
- octokit: new Octokit({ request: fetch }),
7
- };
8
- }
9
- //# sourceMappingURL=createMockFetchers%20copy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createMockFetchers copy.js","sourceRoot":"","sources":["../src/createMockFetchers copy.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGlC,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,MAAM,UAAU,kBAAkB,CACjC,QAAe,qBAAqB,CAAC,OAAO,EAAE,UAAU,CAAC;IAEzD,OAAO;QACN,KAAK;QACL,OAAO,EAAE,IAAI,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;KACxC,CAAC;AACH,CAAC"}
@@ -1,3 +0,0 @@
1
- import { TakeInput } from "bingo";
2
- export declare function createMockTake(getter: () => unknown): TakeInput;
3
- //# sourceMappingURL=createMockTake.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createMockTake.d.ts","sourceRoot":"","sources":["../src/createMockTake.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,OAAO,GAAG,SAAS,CAQ/D"}
@@ -1,8 +0,0 @@
1
- export function createMockTake(getter) {
2
- function take() {
3
- return getter();
4
- }
5
- take.then = async () => await getter();
6
- return take;
7
- }
8
- //# sourceMappingURL=createMockTake.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createMockTake.js","sourceRoot":"","sources":["../src/createMockTake.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,cAAc,CAAC,MAAqB;IACnD,SAAS,IAAI;QACZ,OAAO,MAAM,EAAE,CAAC;IACjB,CAAC;IAED,IAAI,CAAC,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC,MAAM,MAAM,EAAE,CAAC;IAEvC,OAAO,IAAiB,CAAC;AAC1B,CAAC"}