@xylabs/jest-helpers 4.12.43 → 4.13.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.
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Conditionally runs or skips the describe
3
+ * @param expr The condition to evaluate
4
+ * @returns If the condition is true, describe, otherwise skips
5
+ */
6
+ export declare const describeIf: <T>(expr?: T | null) => jest.Describe;
7
+
8
+ /**
9
+ * Conditionally runs or skips the it
10
+ * @param expr The condition to evaluate
11
+ * @returns If the condition is true, it, otherwise skips
12
+ */
13
+ export declare const itIf: <T>(expr?: T | null) => jest.It;
14
+
15
+ export declare function tags(...tagLabels: string[]): Record<string, any>;
16
+
17
+ /**
18
+ * Conditionally runs or skips the test
19
+ * @param expr The condition to evaluate
20
+ * @returns If the condition is true, test, otherwise skips
21
+ */
22
+ export declare const testIf: <T>(expr?: T | null) => jest.It;
23
+
24
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/jest-helpers",
3
- "version": "4.12.43",
3
+ "version": "4.13.0",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "jest",
@@ -28,18 +28,18 @@
28
28
  "type": "module",
29
29
  "exports": {
30
30
  ".": {
31
- "types": "./dist/types/index.d.ts",
31
+ "types": "./dist/neutral/index.d.ts",
32
32
  "default": "./dist/neutral/index.mjs"
33
33
  },
34
34
  "./package.json": "./package.json"
35
35
  },
36
36
  "module": "./dist/neutral/index.mjs",
37
- "types": "./dist/types/index.d.ts",
37
+ "types": "./dist/neutral/index.d.ts",
38
38
  "devDependencies": {
39
39
  "@types/jest": "^30.0.0",
40
- "@types/node": "^24.0.10",
41
- "@xylabs/ts-scripts-yarn3": "^6.5.12",
42
- "@xylabs/tsconfig": "^6.5.12",
40
+ "@types/node": "^24.0.13",
41
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.7",
42
+ "@xylabs/tsconfig": "^7.0.0-rc.7",
43
43
  "typescript": "^5.8.3"
44
44
  },
45
45
  "peerDependencies": {
@@ -1,7 +0,0 @@
1
- /**
2
- * Conditionally runs or skips the describe
3
- * @param expr The condition to evaluate
4
- * @returns If the condition is true, describe, otherwise skips
5
- */
6
- export declare const describeIf: <T>(expr?: T | null) => jest.Describe;
7
- //# sourceMappingURL=describeIf.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"describeIf.d.ts","sourceRoot":"","sources":["../../src/describeIf.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,UAAU,GAAI,CAAC,EAAE,OAAO,CAAC,GAAG,IAAI,kBAAsC,CAAA"}
@@ -1,5 +0,0 @@
1
- export * from './describeIf.ts';
2
- export * from './itIf.ts';
3
- export * from './tags/index.ts';
4
- export * from './testIf.ts';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Conditionally runs or skips the it
3
- * @param expr The condition to evaluate
4
- * @returns If the condition is true, it, otherwise skips
5
- */
6
- export declare const itIf: <T>(expr?: T | null) => jest.It;
7
- //# sourceMappingURL=itIf.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"itIf.d.ts","sourceRoot":"","sources":["../../src/itIf.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,IAAI,GAAI,CAAC,EAAE,OAAO,CAAC,GAAG,IAAI,YAA0B,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare const NOT_SYMBOL = "!";
2
- export declare const AND_SYMBOL = "&&";
3
- export declare const OR_SYMBOL = "||";
4
- //# sourceMappingURL=config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/tags/config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,MAAM,CAAA;AAE7B,eAAO,MAAM,UAAU,OAAO,CAAA;AAE9B,eAAO,MAAM,SAAS,OAAO,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare const matchFilter: (strParam?: string) => (tags: string[]) => boolean;
2
- //# sourceMappingURL=filter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/tags/filter.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,GACnB,iBAAa,MACb,MAAM,MAAM,EAAE,YA0Bd,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare function tags(...tagLabels: string[]): Record<string, any>;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tags/index.ts"],"names":[],"mappings":"AAOA,wBAAgB,IAAI,CAAC,GAAG,SAAS,EAAE,MAAM,EAAE,uBAyB1C"}
@@ -1,6 +0,0 @@
1
- export declare const AND_REGX: RegExp;
2
- export declare const OR_REGX: RegExp;
3
- export declare const PLAIN_REGX: RegExp;
4
- export declare const BAD_REGX: RegExp;
5
- export declare const GOOD_REGX: RegExp;
6
- //# sourceMappingURL=regexps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regexps.d.ts","sourceRoot":"","sources":["../../../src/tags/regexps.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ,QAA8C,CAAA;AAEnE,eAAO,MAAM,OAAO,QAA6C,CAAA;AAEjE,eAAO,MAAM,UAAU,QAA8B,CAAA;AAErD,eAAO,MAAM,QAAQ,QAA0C,CAAA;AAE/D,eAAO,MAAM,SAAS,QAA6C,CAAA"}
@@ -1,7 +0,0 @@
1
- /**
2
- * Conditionally runs or skips the test
3
- * @param expr The condition to evaluate
4
- * @returns If the condition is true, test, otherwise skips
5
- */
6
- export declare const testIf: <T>(expr?: T | null) => jest.It;
7
- //# sourceMappingURL=testIf.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testIf.d.ts","sourceRoot":"","sources":["../../src/testIf.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,MAAM,GAAI,CAAC,EAAE,OAAO,CAAC,GAAG,IAAI,YAA8B,CAAA"}