@fgv/ts-utils-jest 5.0.0-23 → 5.0.0-24

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.
Files changed (32) hide show
  1. package/CHANGELOG.json +0 -15
  2. package/lib/tsdoc-metadata.json +1 -1
  3. package/package.json +8 -8
  4. package/.vscode/launch.json +0 -16
  5. package/dist/ts-utils-jest.d.ts +0 -66
  6. package/lib/helpers/fsHelpers.test.d.ts +0 -2
  7. package/lib/index.test.d.ts +0 -2
  8. package/lib/matchers/toFail/index.test.d.ts +0 -2
  9. package/lib/matchers/toFail/predicate.test.d.ts +0 -2
  10. package/lib/matchers/toFailTest/index.test.d.ts +0 -2
  11. package/lib/matchers/toFailTest/predicate.test.d.ts +0 -2
  12. package/lib/matchers/toFailTestAndMatchSnapshot/index.test.d.ts +0 -2
  13. package/lib/matchers/toFailTestAndMatchSnapshot/predicate.test.d.ts +0 -2
  14. package/lib/matchers/toFailTestWith/index.test.d.ts +0 -2
  15. package/lib/matchers/toFailTestWith/predicate.test.d.ts +0 -2
  16. package/lib/matchers/toFailWith/index.test.d.ts +0 -2
  17. package/lib/matchers/toFailWith/predicate.test.d.ts +0 -2
  18. package/lib/matchers/toFailWithDetail/index.test.d.ts +0 -2
  19. package/lib/matchers/toFailWithDetail/predicate.test.d.ts +0 -2
  20. package/lib/matchers/toHaveBeenCalledWithArgumentsMatching/index.test.d.ts +0 -2
  21. package/lib/matchers/toHaveBeenCalledWithArgumentsMatching/predicate.test.d.ts +0 -2
  22. package/lib/matchers/toSucceed/index.test.d.ts +0 -2
  23. package/lib/matchers/toSucceed/predicate.test.d.ts +0 -2
  24. package/lib/matchers/toSucceedAndMatchInlineSnapshot/index.test.d.ts +0 -2
  25. package/lib/matchers/toSucceedAndMatchSnapshot/index.test.d.ts +0 -2
  26. package/lib/matchers/toSucceedAndSatisfy/index.test.d.ts +0 -2
  27. package/lib/matchers/toSucceedAndSatisfy/predicate.test.d.ts +0 -2
  28. package/lib/matchers/toSucceedWith/index.test.d.ts +0 -2
  29. package/lib/matchers/toSucceedWith/predicate.test.d.ts +0 -2
  30. package/lib/matchers/toSucceedWithDetail/index.test.d.ts +0 -2
  31. package/lib/matchers/toSucceedWithDetail/predicate.test.d.ts +0 -2
  32. package/lib/resolvers/resolvers.test.d.ts +0 -2
package/CHANGELOG.json CHANGED
@@ -1,21 +1,6 @@
1
1
  {
2
2
  "name": "@fgv/ts-utils-jest",
3
3
  "entries": [
4
- {
5
- "version": "5.0.0",
6
- "tag": "@fgv/ts-utils-jest_v5.0.0",
7
- "date": "Thu, 17 Jul 2025 00:13:24 GMT",
8
- "comments": {
9
- "none": [
10
- {
11
- "comment": "minor fixes"
12
- },
13
- {
14
- "comment": "bump version"
15
- }
16
- ]
17
- }
18
- },
19
4
  {
20
5
  "version": "4.6.0",
21
6
  "tag": "@fgv/ts-utils-jest_v4.6.0",
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.10"
8
+ "packageVersion": "7.52.11"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fgv/ts-utils-jest",
3
- "version": "5.0.0-23",
3
+ "version": "5.0.0-24",
4
4
  "description": "Custom matchers for ts-utils result class",
5
5
  "main": "lib/index.js",
6
6
  "keywords": [
@@ -34,18 +34,18 @@
34
34
  "rimraf": "^5.0.7",
35
35
  "ts-jest": "^29.4.1",
36
36
  "ts-node": "^10.9.2",
37
- "typescript": "^5.8.3",
38
- "@rushstack/heft": "~0.74.2",
39
- "@rushstack/eslint-config": "~4.4.0",
40
- "@rushstack/heft-jest-plugin": "~0.16.11",
41
- "@rushstack/heft-node-rig": "~2.9.3",
37
+ "typescript": "5.8.3",
38
+ "@rushstack/heft": "0.74.3",
39
+ "@rushstack/eslint-config": "4.4.0",
40
+ "@rushstack/heft-jest-plugin": "0.16.12",
41
+ "@rushstack/heft-node-rig": "2.9.4",
42
42
  "@types/heft-jest": "1.0.6",
43
43
  "eslint-plugin-n": "^16.6.2",
44
44
  "eslint-plugin-tsdoc": "~0.4.0",
45
- "@fgv/ts-utils": "5.0.0-23"
45
+ "@fgv/ts-utils": "5.0.0-24"
46
46
  },
47
47
  "peerDependencies": {
48
- "@fgv/ts-utils": "5.0.0-23"
48
+ "@fgv/ts-utils": "5.0.0-24"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "heft build --clean",
@@ -1,16 +0,0 @@
1
- {
2
- // Use IntelliSense to learn about possible attributes.
3
- // Hover to view descriptions of existing attributes.
4
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
- "version": "0.2.0",
6
- "configurations": [
7
- {
8
- "type": "node",
9
- "request": "launch",
10
- "name": "Launch Program",
11
- "skipFiles": ["<node_internals>/**"],
12
- "program": "${workspaceFolder}/src/matchers/toHaveBeenCalledWithArgumentsMatching/index.test.ts",
13
- "outFiles": ["${workspaceFolder}/**/*.js"]
14
- }
15
- ]
16
- }
@@ -1,66 +0,0 @@
1
- /**
2
- * @public
3
- */
4
- declare interface IMockFileConfig {
5
- path: string;
6
- backingFile?: string;
7
- payload?: string;
8
- writable?: boolean;
9
- }
10
-
11
- /**
12
- * @public
13
- */
14
- declare interface IMockFileSystemOptions {
15
- mockWriteOnly?: boolean;
16
- allowUnknownMockWrite?: boolean;
17
- }
18
-
19
- /**
20
- * @public
21
- */
22
- declare class MockFileSystem {
23
- protected readonly _options?: IMockFileSystemOptions;
24
- protected readonly _config: Map<string, IMockFileConfig>;
25
- protected readonly _data: Map<string, string>;
26
- protected readonly _realReadFileSync: ReadFunc;
27
- protected readonly _extraWrites: string[];
28
- constructor(configs: Iterable<IMockFileConfig>, options?: IMockFileSystemOptions);
29
- readMockFileSync(wanted: string): string;
30
- writeMockFileSync(wanted: string, body: string): void;
31
- getExtraFilesWritten(): string[];
32
- tryGetPayload(want: string): string | undefined;
33
- reset(): void;
34
- startSpies(): ReadWriteSpies;
35
- }
36
-
37
- declare namespace MockFs {
38
- export {
39
- IMockFileConfig,
40
- ReadWriteSpies,
41
- IMockFileSystemOptions,
42
- MockFileSystem
43
- }
44
- }
45
- export { MockFs }
46
-
47
- /**
48
- * @public
49
- */
50
- declare type ReadFunc = (path: string | number | Buffer | URL, options?: {
51
- encoding?: null;
52
- flag?: string;
53
- } | null) => Buffer;
54
-
55
- /**
56
- * @public
57
- */
58
- declare class ReadWriteSpies {
59
- readonly read: jest.SpyInstance;
60
- readonly write: jest.SpyInstance;
61
- constructor(read: jest.SpyInstance, write: jest.SpyInstance);
62
- clear(): void;
63
- restore(): void;
64
- }
65
-
66
- export { }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=fsHelpers.test.d.ts.map
@@ -1,2 +0,0 @@
1
- import './index';
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=predicate.test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=resolvers.test.d.ts.map