@knapsack-pro/jest 5.4.0 → 5.4.1

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.
@@ -60,8 +60,10 @@ var knapsackProLogger = new core_1.KnapsackProLogger();
60
60
  knapsackProLogger.debug("Jest CLI options:\n".concat(core_1.KnapsackProLogger.objectInspect(jestCLIOptions)));
61
61
  env_config_1.EnvConfig.loadEnvironmentVariables();
62
62
  var projectPath = process.cwd();
63
- var allTestFiles = test_files_finder_1.TestFilesFinder.allTestFiles();
64
- var knapsackPro = new core_1.KnapsackProCore(clientName, clientVersion, allTestFiles);
63
+ var testFilesToExecute = function () {
64
+ return test_files_finder_1.TestFilesFinder.allTestFiles();
65
+ };
66
+ var knapsackPro = new core_1.KnapsackProCore(clientName, clientVersion, testFilesToExecute);
65
67
  var onSuccess = function (queueTestFiles) { return __awaiter(void 0, void 0, void 0, function () {
66
68
  var testFilePaths, jestCLICoverage, _a, isTestSuiteGreen, testResults, recordedTestFiles;
67
69
  return __generator(this, function (_b) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knapsack-pro/jest",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Knapsack Pro Jest splits Jest tests across CI nodes and makes sure that tests will run in optimal time on each CI node.",
5
5
  "keywords": [
6
6
  "knapsack",
@@ -53,7 +53,7 @@
53
53
  "knapsack-pro-jest": "lib/knapsack-pro-jest.js"
54
54
  },
55
55
  "dependencies": {
56
- "@knapsack-pro/core": "^3.3.1",
56
+ "@knapsack-pro/core": "^4.0.0",
57
57
  "glob": "^8.0.3",
58
58
  "minimatch": "^5.1.0",
59
59
  "minimist": "^1.2.6",