@xylabs/jest-helpers 4.13.14 β 4.13.16
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/README.md +22 -31
- package/dist/neutral/describeIf.d.ts +7 -0
- package/dist/neutral/describeIf.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +5 -24
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/itIf.d.ts +7 -0
- package/dist/neutral/itIf.d.ts.map +1 -0
- package/dist/neutral/spec/describeIf.spec.d.ts +2 -0
- package/dist/neutral/spec/describeIf.spec.d.ts.map +1 -0
- package/dist/neutral/spec/itIf.spec.d.ts +2 -0
- package/dist/neutral/spec/itIf.spec.d.ts.map +1 -0
- package/dist/neutral/spec/testIf.spec.d.ts +2 -0
- package/dist/neutral/spec/testIf.spec.d.ts.map +1 -0
- package/dist/neutral/tags/config.d.ts +4 -0
- package/dist/neutral/tags/config.d.ts.map +1 -0
- package/dist/neutral/tags/filter.d.ts +2 -0
- package/dist/neutral/tags/filter.d.ts.map +1 -0
- package/dist/neutral/tags/index.d.ts +2 -0
- package/dist/neutral/tags/index.d.ts.map +1 -0
- package/dist/neutral/tags/regexps.d.ts +6 -0
- package/dist/neutral/tags/regexps.d.ts.map +1 -0
- package/dist/neutral/testIf.d.ts +7 -0
- package/dist/neutral/testIf.d.ts.map +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,63 +1,54 @@
|
|
|
1
|
-
[![logo][]](https://xylabs.com)
|
|
2
|
-
|
|
3
1
|
# @xylabs/jest-helpers
|
|
4
2
|
|
|
3
|
+
[![logo][]](https://xylabs.com)
|
|
4
|
+
|
|
5
|
+
[![main-build][]][main-build-link]
|
|
5
6
|
[![npm-badge][]][npm-link]
|
|
6
7
|
[![npm-downloads-badge][]][npm-link]
|
|
7
8
|
[![jsdelivr-badge][]][jsdelivr-link]
|
|
8
9
|
[![npm-license-badge][]](LICENSE)
|
|
10
|
+
[![codacy-badge][]][codacy-link]
|
|
11
|
+
[![codeclimate-badge][]][codeclimate-link]
|
|
12
|
+
[![snyk-badge][]][snyk-link]
|
|
9
13
|
[![socket-badge][]][socket-link]
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Table of Contents
|
|
14
|
-
|
|
15
|
-
- [Description](#description)
|
|
16
|
-
- [Install](#install)
|
|
17
|
-
- [Maintainers](#maintainers)
|
|
18
|
-
- [License](#license)
|
|
19
|
-
- [Credits](#credits)
|
|
20
|
-
|
|
21
|
-
## Description
|
|
15
|
+
Version: 4.13.15
|
|
22
16
|
|
|
23
|
-
|
|
17
|
+
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
|
|
24
18
|
|
|
25
|
-
##
|
|
26
|
-
|
|
27
|
-
Using npm:
|
|
28
|
-
|
|
29
|
-
```sh
|
|
30
|
-
npm i --save @xylabs/jest-helpers
|
|
31
|
-
```
|
|
19
|
+
## Documentation
|
|
32
20
|
|
|
33
|
-
|
|
21
|
+
Coming Soon!
|
|
34
22
|
|
|
35
|
-
|
|
36
|
-
yarn add @xylabs/jest-helpers
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Documentation
|
|
40
|
-
[Developer Reference](https://xylabs.github.io/sdk-js)
|
|
23
|
+
Part of [sdk-js](https://www.npmjs.com/package/@xyo-network/sdk-js)
|
|
41
24
|
|
|
42
25
|
## Maintainers
|
|
43
26
|
|
|
44
27
|
- [Arie Trouw](https://github.com/arietrouw) ([arietrouw.com](https://arietrouw.com))
|
|
45
|
-
- [Joel Carter](https://github.com/JoelBCarter)
|
|
46
28
|
- [Matt Jones](https://github.com/jonesmac)
|
|
29
|
+
- [Joel Carter](https://github.com/JoelBCarter)
|
|
47
30
|
- [Jordan Trouw](https://github.com/jordantrouw)
|
|
48
31
|
|
|
49
32
|
## License
|
|
50
33
|
|
|
51
|
-
See the [LICENSE](LICENSE) file for license details
|
|
34
|
+
> See the [LICENSE](LICENSE) file for license details
|
|
52
35
|
|
|
53
36
|
## Credits
|
|
54
37
|
|
|
55
|
-
[Made with π₯and βοΈ by
|
|
38
|
+
[Made with π₯ and βοΈ by XYLabs](https://xylabs.com)
|
|
56
39
|
|
|
57
40
|
[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
|
|
58
41
|
|
|
42
|
+
[main-build]: https://github.com/xylabs/sdk-js/actions/workflows/build.yml/badge.svg
|
|
43
|
+
[main-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build.yml
|
|
59
44
|
[npm-badge]: https://img.shields.io/npm/v/@xylabs/jest-helpers.svg
|
|
60
45
|
[npm-link]: https://www.npmjs.com/package/@xylabs/jest-helpers
|
|
46
|
+
[codacy-badge]: https://app.codacy.com/project/badge/Grade/c8e15e14f37741c18cfb47ac7245c698
|
|
47
|
+
[codacy-link]: https://www.codacy.com/gh/xylabs/sdk-js/dashboard?utm_source=github.com&utm_medium=referral&utm_content=xylabs/sdk-js&utm_campaign=Badge_Grade
|
|
48
|
+
[codeclimate-badge]: https://api.codeclimate.com/v1/badges/c5eb068f806f0b047ea7/maintainability
|
|
49
|
+
[codeclimate-link]: https://codeclimate.com/github/xylabs/sdk-js/maintainability
|
|
50
|
+
[snyk-badge]: https://snyk.io/test/github/xylabs/sdk-js/badge.svg?targetFile=package.json
|
|
51
|
+
[snyk-link]: https://snyk.io/test/github/xylabs/sdk-js?targetFile=package.json
|
|
61
52
|
|
|
62
53
|
[npm-downloads-badge]: https://img.shields.io/npm/dw/@xylabs/jest-helpers
|
|
63
54
|
[npm-license-badge]: https://img.shields.io/npm/l/@xylabs/jest-helpers
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
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
|
-
declare const itIf: <T>(expr?: T | null) => jest.It;
|
|
14
|
-
|
|
15
|
-
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
|
-
declare const testIf: <T>(expr?: T | null) => jest.It;
|
|
23
|
-
|
|
24
|
-
export { describeIf, itIf, tags, testIf };
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describeIf.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/describeIf.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"itIf.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/itIf.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testIf.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/testIf.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/jest-helpers",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.16",
|
|
4
4
|
"description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jest",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"types": "./dist/neutral/index.d.ts",
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/jest": "^30.0.0",
|
|
40
|
-
"@types/node": "^24.0.
|
|
41
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
42
|
-
"@xylabs/tsconfig": "^7.0.0-rc.
|
|
40
|
+
"@types/node": "^24.0.14",
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
|
|
42
|
+
"@xylabs/tsconfig": "^7.0.0-rc.27",
|
|
43
43
|
"typescript": "^5.8.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|