@zohodesk/unit-testing-framework 0.0.18-experimental → 0.0.20-experimental

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.
@@ -81,9 +81,13 @@ function buildArgv(config, {
81
81
  _: testFiles ?? [],
82
82
  $0: 'unit-testing-framework'
83
83
  };
84
+
85
+ // Jest 30 uses `testPathPatterns` (plural, array) instead of
86
+ // the old `testPathPattern` (singular, string) from Jest ≤29.
84
87
  if (testPathPattern) {
85
- argv.testPathPattern = testPathPattern;
88
+ argv.testPathPatterns = [testPathPattern];
86
89
  }
90
+ console.log('Jest CLI argv:', argv);
87
91
  return argv;
88
92
  }
89
93
 
@@ -101,5 +105,6 @@ async function executeJest(argv, projectRoot) {
101
105
  const {
102
106
  results
103
107
  } = await runCLI(argv, [projectRoot]);
108
+ console.log('Jest run results:', results);
104
109
  return results;
105
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/unit-testing-framework",
3
- "version": "0.0.18-experimental",
3
+ "version": "0.0.20-experimental",
4
4
  "description": "A modular Jest-based unit testing framework",
5
5
  "main": "./build/index.js",
6
6
  "exports": {