@knapsack-pro/jest 5.1.0 → 5.3.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.
- package/README.md +25 -47
- package/lib/knapsack-pro-jest.js +8 -8
- package/package.json +33 -28
- package/CHANGELOG.md +0 -169
package/README.md
CHANGED
|
@@ -34,10 +34,6 @@ Learn about Knapsack Pro Queue Mode in the video [how to run tests with dynamic
|
|
|
34
34
|
- [Codefresh.io](#codefreshio)
|
|
35
35
|
- [Other CI provider](#other-ci-provider)
|
|
36
36
|
- [FAQ](#faq)
|
|
37
|
-
- [Knapsack Pro Core features FAQ](#knapsack-pro-core-features-faq)
|
|
38
|
-
- [How to run tests only from specific directory?](#how-to-run-tests-only-from-specific-directory)
|
|
39
|
-
- [How to exclude tests to ignore them from running?](#how-to-exclude-tests-to-ignore-them-from-running)
|
|
40
|
-
- [How to pass command line options?](#how-to-pass-command-line-options)
|
|
41
37
|
- [Development](#development)
|
|
42
38
|
- [Requirements](#requirements)
|
|
43
39
|
- [Dependencies](#dependencies)
|
|
@@ -124,7 +120,22 @@ Whenever you see `npm` in below steps you can use `yarn` there as well.
|
|
|
124
120
|
|
|
125
121
|
See [example how test suite can run 2 times faster with `--runInBand`](https://github.com/KnapsackPro/knapsack-pro-jest/issues/24). You can test this option yourself to verify if it helps increase the speed of tests in case of your test suite.
|
|
126
122
|
|
|
127
|
-
10.
|
|
123
|
+
10. If your code is written in TypeScript and you run specs with `ts-jest`, consider moving typechecking and diagnostics to a separate CI step and disable typechecking on Jest runs.
|
|
124
|
+
This setting prevents `ts-jest` from running `tsc` on your code for every Knapsack grouping, repeating effort. On a larger codebase, it could prevent increasing your execution time by more than 50%.
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
/* jest.config.js */
|
|
128
|
+
{
|
|
129
|
+
"globals": {
|
|
130
|
+
"ts-jest": {
|
|
131
|
+
"diagnostics": false,
|
|
132
|
+
"isolatedModules": true
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
11. Please select your CI provider and follow instructions to run tests with `@knapsack-pro/jest`.
|
|
128
139
|
|
|
129
140
|
- [CircleCI](#circleci)
|
|
130
141
|
- [Travis CI](#travis-ci)
|
|
@@ -266,7 +277,7 @@ Use `test` key to run tests with `@knapsack-pro/jest` as shown in below example.
|
|
|
266
277
|
You need to specify also the environment variable `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST` with API token for Knapsack Pro.
|
|
267
278
|
For any sensitive environment variables (like Knapsack Pro API token) that you do not want commited in your `app.json` manifest, you can add them to your pipeline’s Heroku CI settings.
|
|
268
279
|
|
|
269
|
-
```
|
|
280
|
+
```json
|
|
270
281
|
# app.json
|
|
271
282
|
{
|
|
272
283
|
"environments": {
|
|
@@ -342,7 +353,7 @@ Here you can find info [how to configure the GitLab parallel CI nodes](https://d
|
|
|
342
353
|
|
|
343
354
|
GitLab CI does not provide parallel jobs environment variables so you will have to define `KNAPSACK_PRO_CI_NODE_TOTAL` and `KNAPSACK_PRO_CI_NODE_INDEX` for each parallel job running as part of the same `test` stage. Below is relevant part of `.gitlab-ci.yml` configuration for 2 parallel jobs.
|
|
344
355
|
|
|
345
|
-
```
|
|
356
|
+
```yaml
|
|
346
357
|
# .gitlab-ci.yml
|
|
347
358
|
stages:
|
|
348
359
|
- test
|
|
@@ -416,7 +427,7 @@ Please remember to set up API token `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST` as glob
|
|
|
416
427
|
|
|
417
428
|
The only thing you need to do is to configure number of parallel CI nodes for your project by using [matrix modification](https://cirrus-ci.org/guide/writing-tasks/#matrix-modification). See example for 2 parallel CI nodes.
|
|
418
429
|
|
|
419
|
-
```
|
|
430
|
+
```yaml
|
|
420
431
|
# .cirrus.yml
|
|
421
432
|
task:
|
|
422
433
|
matrix:
|
|
@@ -436,7 +447,7 @@ You can learn basics about it in the article [Parallelism and Distributed Builds
|
|
|
436
447
|
|
|
437
448
|
Here is example `Jenkinsfile` working with Jenkins Pipeline.
|
|
438
449
|
|
|
439
|
-
```
|
|
450
|
+
```groovy
|
|
440
451
|
timeout(time: 60, unit: 'MINUTES') {
|
|
441
452
|
node() {
|
|
442
453
|
stage('Checkout') {
|
|
@@ -629,45 +640,13 @@ KNAPSACK_PRO_CI_NODE_TOTAL=2 KNAPSACK_PRO_CI_NODE_INDEX=0 $(npm bin)/knapsack-pr
|
|
|
629
640
|
KNAPSACK_PRO_CI_NODE_TOTAL=2 KNAPSACK_PRO_CI_NODE_INDEX=1 $(npm bin)/knapsack-pro-jest
|
|
630
641
|
```
|
|
631
642
|
|
|
632
|
-
Please remember to set up API token `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST` as global environment.
|
|
643
|
+
Please remember to set up API token `KNAPSACK_PRO_TEST_SUITE_TOKEN_JEST` as global environment variable.
|
|
633
644
|
|
|
634
645
|
## FAQ
|
|
635
646
|
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
**OLD:** This README also contains FAQ questions but we keep adding new info only to our new FAQ page mentioned above.
|
|
639
|
-
|
|
640
|
-
We keep this old FAQ in README to not break old links spread across the web.
|
|
641
|
-
|
|
642
|
-
### Knapsack Pro Core features FAQ
|
|
643
|
-
|
|
644
|
-
This project depends on `@knapsack-pro/core`. Please check the [FAQ for `@knapsack-pro/core`](https://github.com/KnapsackPro/knapsack-pro-core-js#table-of-contents) to learn more about core features available to you.
|
|
645
|
-
|
|
646
|
-
### How to run tests only from specific directory?
|
|
647
|
-
|
|
648
|
-
You can set `KNAPSACK_PRO_TEST_FILE_PATTERN="{**/__tests__/**/*.js?(x),**/?(*.)(spec|test).js?(x)}"` and change pattern to match your directory with test files. You can use [glob](https://github.com/isaacs/node-glob) pattern.
|
|
649
|
-
|
|
650
|
-
`@knapsack-pro/jest` by default rejects tests inside of `node_modules` directory. If your pattern set by `KNAPSACK_PRO_TEST_FILE_PATTERN` matches test file paths within `node_modules` then those test file paths won't be run.
|
|
651
|
-
|
|
652
|
-
If you want to use a few patterns you can do it as shown above `KNAPSACK_PRO_TEST_FILE_PATTERN="{pattern_1,pattern_2}"`.
|
|
653
|
-
|
|
654
|
-
If you want to use single pattern then you can do `KNAPSACK_PRO_TEST_FILE_PATTERN="__tests__/**/*.test.js"`.
|
|
655
|
-
|
|
656
|
-
### How to exclude tests to ignore them from running?
|
|
657
|
-
|
|
658
|
-
You can set `KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN` which define a [glob](https://github.com/isaacs/node-glob) pattern to exclude tests similar to Jest [`testPathIgnorePatterns`](https://jestjs.io/docs/en/configuration.html#testpathignorepatterns-array-string) parameter. Note `testPathIgnorePatterns` uses regexp pattern while `KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN` uses [glob](https://github.com/isaacs/node-glob) pattern.
|
|
659
|
-
|
|
660
|
-
### How to pass command line options?
|
|
661
|
-
|
|
662
|
-
**UP TO DATE ANSWER:** https://knapsackpro.com/faq/question/how-to-pass-command-line-options-to-jest
|
|
663
|
-
|
|
664
|
-
You can pass command line options to Jest by just passing them to `@knapsack-pro/jest`. See example:
|
|
665
|
-
|
|
666
|
-
```
|
|
667
|
-
$(npm bin)/knapsack-pro-jest --debug
|
|
668
|
-
```
|
|
647
|
+
- [FAQ for Knapsack Pro Jest can be found here](https://knapsackpro.com/faq/knapsack_pro_client/knapsack_pro_jest).
|
|
669
648
|
|
|
670
|
-
|
|
649
|
+
- This project depends on `@knapsack-pro/core`. Please check the [FAQ for `@knapsack-pro/core`](https://github.com/KnapsackPro/knapsack-pro-core-js#table-of-contents) to learn more about core features available to you.
|
|
671
650
|
|
|
672
651
|
## Development
|
|
673
652
|
|
|
@@ -675,7 +654,7 @@ You can find [list of Jest CLI options here](https://jestjs.io/docs/en/cli#optio
|
|
|
675
654
|
|
|
676
655
|
You can use [NVM](https://github.com/nvm-sh/nvm) to manage Node version in development.
|
|
677
656
|
|
|
678
|
-
- `>= Node
|
|
657
|
+
- `>= Node 16.15.1 LTS`
|
|
679
658
|
|
|
680
659
|
### Dependencies
|
|
681
660
|
|
|
@@ -719,14 +698,13 @@ You can use [NVM](https://github.com/nvm-sh/nvm) to manage Node version in devel
|
|
|
719
698
|
|
|
720
699
|
- [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
|
721
700
|
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
|
722
|
-
- [TypeScript TSLint Plugin](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin)
|
|
723
701
|
- [EditorConfig for VS Code](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
|
|
724
702
|
|
|
725
703
|
- Go to `File > Preferences > Settings > Text Editor > Formatting`
|
|
726
704
|
|
|
727
705
|
Turn on `Format On Save` checkbox.
|
|
728
706
|
|
|
729
|
-
From now on every change in code base will be automatically formatted by [Prettier](https://prettier.io/). [ESLint](https://eslint.org/)
|
|
707
|
+
From now on, every change in code base will be automatically formatted by [Prettier](https://prettier.io/). [ESLint](https://eslint.org/) shows errors and warnings in VSCode.
|
|
730
708
|
|
|
731
709
|
7. Write some code.
|
|
732
710
|
|
package/lib/knapsack-pro-jest.js
CHANGED
|
@@ -48,16 +48,16 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
-
var _a = require('../package.json'), clientName = _a.name, clientVersion = _a.version;
|
|
52
|
-
var jest = require('jest');
|
|
53
|
-
var uuidv4 = require('uuid').v4;
|
|
54
51
|
var core_1 = require("@knapsack-pro/core");
|
|
55
52
|
var env_config_1 = require("./env-config");
|
|
56
53
|
var test_files_finder_1 = require("./test-files-finder");
|
|
57
54
|
var jest_cli_1 = require("./jest-cli");
|
|
55
|
+
var jest = require('jest');
|
|
56
|
+
var uuidv4 = require('uuid').v4;
|
|
57
|
+
var _a = require('../package.json'), clientName = _a.name, clientVersion = _a.version;
|
|
58
58
|
var jestCLIOptions = jest_cli_1.JestCLI.argvToOptions();
|
|
59
59
|
var knapsackProLogger = new core_1.KnapsackProLogger();
|
|
60
|
-
knapsackProLogger.debug("Jest CLI options:\n"
|
|
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
63
|
var allTestFiles = test_files_finder_1.TestFilesFinder.allTestFiles();
|
|
@@ -69,7 +69,7 @@ var onSuccess = function (queueTestFiles) { return __awaiter(void 0, void 0, voi
|
|
|
69
69
|
case 0:
|
|
70
70
|
testFilePaths = queueTestFiles.map(function (testFile) { return testFile.path; });
|
|
71
71
|
jestCLICoverage = env_config_1.EnvConfig.coverageDirectory
|
|
72
|
-
? { coverageDirectory: env_config_1.EnvConfig.coverageDirectory
|
|
72
|
+
? { coverageDirectory: "".concat(env_config_1.EnvConfig.coverageDirectory, "/").concat(uuidv4()) }
|
|
73
73
|
: {};
|
|
74
74
|
return [4, jest.runCLI(__assign(__assign(__assign({}, jestCLIOptions), jestCLICoverage), { runTestsByPath: true, _: testFilePaths }), [projectPath])];
|
|
75
75
|
case 1:
|
|
@@ -77,10 +77,10 @@ var onSuccess = function (queueTestFiles) { return __awaiter(void 0, void 0, voi
|
|
|
77
77
|
recordedTestFiles = testResults.map(function (_a) {
|
|
78
78
|
var testFilePath = _a.testFilePath, _b = _a.perfStats, start = _b.start, end = _b.end;
|
|
79
79
|
var path = process.platform === 'win32'
|
|
80
|
-
? testFilePath.replace(projectPath
|
|
81
|
-
: testFilePath.replace(projectPath
|
|
80
|
+
? testFilePath.replace("".concat(projectPath, "\\"), '').replace(/\\/g, '/')
|
|
81
|
+
: testFilePath.replace("".concat(projectPath, "/"), '');
|
|
82
82
|
var timeExecutionMiliseconds = end - start;
|
|
83
|
-
var timeExecution = timeExecutionMiliseconds > 0 ? timeExecutionMiliseconds / 1000 : 0.
|
|
83
|
+
var timeExecution = timeExecutionMiliseconds > 0 ? timeExecutionMiliseconds / 1000 : 0.0;
|
|
84
84
|
return {
|
|
85
85
|
path: path,
|
|
86
86
|
time_execution: timeExecution,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knapsack-pro/jest",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
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",
|
|
@@ -31,10 +31,11 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"start": "gulp",
|
|
33
33
|
"build": "gulp build",
|
|
34
|
-
"lint": "npm run
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
34
|
+
"lint": "npm run eslint:check && npm run prettier:check",
|
|
35
|
+
"eslint:check": "eslint . --ext .ts",
|
|
36
|
+
"eslint:format": "eslint . --ext .ts --fix",
|
|
37
|
+
"prettier:check": "prettier --check .",
|
|
38
|
+
"prettier:format": "prettier --config .prettierrc.json 'src/**/*.ts' --write",
|
|
38
39
|
"doctoc": "doctoc --title \"## Table of Contents\" README.md"
|
|
39
40
|
},
|
|
40
41
|
"files": [
|
|
@@ -52,34 +53,38 @@
|
|
|
52
53
|
"knapsack-pro-jest": "lib/knapsack-pro-jest.js"
|
|
53
54
|
},
|
|
54
55
|
"dependencies": {
|
|
55
|
-
"@knapsack-pro/core": "^3.
|
|
56
|
-
"glob": "^
|
|
57
|
-
"minimatch": "^
|
|
58
|
-
"minimist": "^1.2.
|
|
59
|
-
"uuid": "^8.3.
|
|
56
|
+
"@knapsack-pro/core": "^3.2.0",
|
|
57
|
+
"glob": "^8.0.3",
|
|
58
|
+
"minimatch": "^5.1.0",
|
|
59
|
+
"minimist": "^1.2.6",
|
|
60
|
+
"uuid": "^8.3.2"
|
|
60
61
|
},
|
|
61
62
|
"peerDependencies": {
|
|
62
|
-
"jest": ">=22.0.0 <
|
|
63
|
+
"jest": ">=22.0.0 <29.0.0"
|
|
63
64
|
},
|
|
64
65
|
"devDependencies": {
|
|
65
|
-
"
|
|
66
|
-
"@babel/
|
|
67
|
-
"@babel/
|
|
68
|
-
"@
|
|
69
|
-
"@types/glob": "^7.
|
|
70
|
-
"@types/node": "^
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"eslint
|
|
76
|
-
"eslint-
|
|
77
|
-
"prettier": "
|
|
78
|
-
"
|
|
79
|
-
"
|
|
66
|
+
"@babel/core": "^7.18.2",
|
|
67
|
+
"@babel/preset-env": "^7.18.2",
|
|
68
|
+
"@babel/register": "^7.17.7",
|
|
69
|
+
"@types/jest": "^28.1.1",
|
|
70
|
+
"@types/glob": "^7.2.0",
|
|
71
|
+
"@types/node": "^17.0.41",
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
73
|
+
"@typescript-eslint/parser": "^5.27.1",
|
|
74
|
+
"del": "^6.1.1",
|
|
75
|
+
"doctoc": "^2.2.0",
|
|
76
|
+
"eslint": "^7.32.0",
|
|
77
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
78
|
+
"eslint-config-prettier": "^8.5.0",
|
|
79
|
+
"eslint-plugin-import": "^2.26.0",
|
|
80
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
80
81
|
"gulp": "^4.0.2",
|
|
82
|
+
"gulp-typescript": "^5.0.1",
|
|
81
83
|
"gulp-chmod": "^3.0.0",
|
|
82
|
-
"gulp-filter": "^
|
|
83
|
-
"
|
|
84
|
+
"gulp-filter": "^7.0.0",
|
|
85
|
+
"jest": "^28.1.0",
|
|
86
|
+
"prettier": "^2.6.2",
|
|
87
|
+
"ts-jest": "^28.0.4",
|
|
88
|
+
"typescript": "^4.7.3"
|
|
84
89
|
}
|
|
85
90
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [v5.1.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v5.1.0) (2020-11-28)
|
|
4
|
-
|
|
5
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v5.0.0...v5.1.0)
|
|
6
|
-
|
|
7
|
-
**Implemented enhancements:**
|
|
8
|
-
|
|
9
|
-
- Update @knapsack-pro/core 3.1.0 - Add support for an attempt to connect to existing Queue on API side to reduce slow requests number [\#26](https://github.com/KnapsackPro/knapsack-pro-jest/pull/26) ([ArturT](https://github.com/ArturT))
|
|
10
|
-
|
|
11
|
-
**Closed issues:**
|
|
12
|
-
|
|
13
|
-
- Recommend runInBand [\#24](https://github.com/KnapsackPro/knapsack-pro-jest/issues/24)
|
|
14
|
-
|
|
15
|
-
**Merged pull requests:**
|
|
16
|
-
|
|
17
|
-
- Recommend option --runInBand to run tests faster \(update installation steps\) [\#25](https://github.com/KnapsackPro/knapsack-pro-jest/pull/25) ([ArturT](https://github.com/ArturT))
|
|
18
|
-
|
|
19
|
-
## [v5.0.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v5.0.0) (2020-10-30)
|
|
20
|
-
|
|
21
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v4.0.1...v5.0.0)
|
|
22
|
-
|
|
23
|
-
**Merged pull requests:**
|
|
24
|
-
|
|
25
|
-
- Default NODE\_ENV to 'test' [\#23](https://github.com/KnapsackPro/knapsack-pro-jest/pull/23) ([haines](https://github.com/haines))
|
|
26
|
-
|
|
27
|
-
## [v4.0.1](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v4.0.1) (2020-09-18)
|
|
28
|
-
|
|
29
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v4.0.0...v4.0.1)
|
|
30
|
-
|
|
31
|
-
**Merged pull requests:**
|
|
32
|
-
|
|
33
|
-
- Update @knapsack-pro/core 3.0.1 [\#22](https://github.com/KnapsackPro/knapsack-pro-jest/pull/22) ([ArturT](https://github.com/ArturT))
|
|
34
|
-
|
|
35
|
-
## [v4.0.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v4.0.0) (2020-08-26)
|
|
36
|
-
|
|
37
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v3.0.0...v4.0.0)
|
|
38
|
-
|
|
39
|
-
**Implemented enhancements:**
|
|
40
|
-
|
|
41
|
-
- Add jest \>=22.0.0 \<27.0.0 to peerDependencies [\#21](https://github.com/KnapsackPro/knapsack-pro-jest/pull/21) ([ArturT](https://github.com/ArturT))
|
|
42
|
-
|
|
43
|
-
**Merged pull requests:**
|
|
44
|
-
|
|
45
|
-
- Update packages [\#20](https://github.com/KnapsackPro/knapsack-pro-jest/pull/20) ([ArturT](https://github.com/ArturT))
|
|
46
|
-
- Update formatting related configs \(prettier etc\) [\#19](https://github.com/KnapsackPro/knapsack-pro-jest/pull/19) ([ArturT](https://github.com/ArturT))
|
|
47
|
-
- Use @knapsack-pro/core 3.0.0 [\#18](https://github.com/KnapsackPro/knapsack-pro-jest/pull/18) ([ArturT](https://github.com/ArturT))
|
|
48
|
-
- Use Node 12.18.3 LTS in development and update README requirements [\#17](https://github.com/KnapsackPro/knapsack-pro-jest/pull/17) ([ArturT](https://github.com/ArturT))
|
|
49
|
-
- Bump lodash from 4.17.15 to 4.17.19 [\#16](https://github.com/KnapsackPro/knapsack-pro-jest/pull/16) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
50
|
-
|
|
51
|
-
## [v3.0.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v3.0.0) (2020-06-27)
|
|
52
|
-
|
|
53
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.7.0...v3.0.0)
|
|
54
|
-
|
|
55
|
-
**Implemented enhancements:**
|
|
56
|
-
|
|
57
|
-
- \[breaking change\] Update to @knapsack-pro/core 2.0.0 - read PR description how to migrate for Github Actions [\#15](https://github.com/KnapsackPro/knapsack-pro-jest/pull/15) ([ArturT](https://github.com/ArturT))
|
|
58
|
-
|
|
59
|
-
**Closed issues:**
|
|
60
|
-
|
|
61
|
-
- Saving coverage data [\#12](https://github.com/KnapsackPro/knapsack-pro-jest/issues/12)
|
|
62
|
-
|
|
63
|
-
**Merged pull requests:**
|
|
64
|
-
|
|
65
|
-
- Bump minimist from 1.2.0 to 1.2.3 [\#14](https://github.com/KnapsackPro/knapsack-pro-jest/pull/14) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
66
|
-
|
|
67
|
-
## [v2.7.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.7.0) (2020-01-31)
|
|
68
|
-
|
|
69
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.6.0...v2.7.0)
|
|
70
|
-
|
|
71
|
-
**Implemented enhancements:**
|
|
72
|
-
|
|
73
|
-
- Add KNAPSACK\_PRO\_COVERAGE\_DIRECTORY to generate unique directory name with code coverage reports for each batch of tests fetched from Queue [\#13](https://github.com/KnapsackPro/knapsack-pro-jest/pull/13) ([ArturT](https://github.com/ArturT))
|
|
74
|
-
|
|
75
|
-
## [v2.6.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.6.0) (2019-11-22)
|
|
76
|
-
|
|
77
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.5.0...v2.6.0)
|
|
78
|
-
|
|
79
|
-
**Implemented enhancements:**
|
|
80
|
-
|
|
81
|
-
- Run tests only when they are detected on the disk. Do not run tests when the test file pattern is invalid. Require to set KNAPSACK\_PRO\_TEST\_FILE\_PATTERN [\#11](https://github.com/KnapsackPro/knapsack-pro-jest/pull/11) ([ArturT](https://github.com/ArturT))
|
|
82
|
-
|
|
83
|
-
## [v2.5.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.5.0) (2019-10-25)
|
|
84
|
-
|
|
85
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.4.0...v2.5.0)
|
|
86
|
-
|
|
87
|
-
**Implemented enhancements:**
|
|
88
|
-
|
|
89
|
-
- Add separate parameter for ignored file pattern [\#10](https://github.com/KnapsackPro/knapsack-pro-jest/pull/10) ([andrcuns](https://github.com/andrcuns))
|
|
90
|
-
|
|
91
|
-
## [v2.4.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.4.0) (2019-10-18)
|
|
92
|
-
|
|
93
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.3.0...v2.4.0)
|
|
94
|
-
|
|
95
|
-
**Implemented enhancements:**
|
|
96
|
-
|
|
97
|
-
- Add support for Codefresh.io CI provider [\#9](https://github.com/KnapsackPro/knapsack-pro-jest/pull/9) ([ArturT](https://github.com/ArturT))
|
|
98
|
-
|
|
99
|
-
## [v2.3.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.3.0) (2019-09-15)
|
|
100
|
-
|
|
101
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.2.1...v2.3.0)
|
|
102
|
-
|
|
103
|
-
**Implemented enhancements:**
|
|
104
|
-
|
|
105
|
-
- Update @knapsack-pro/core 1.5.0 to add support for GitHub Actions [\#8](https://github.com/KnapsackPro/knapsack-pro-jest/pull/8) ([ArturT](https://github.com/ArturT))
|
|
106
|
-
|
|
107
|
-
## [v2.2.1](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.2.1) (2019-09-04)
|
|
108
|
-
|
|
109
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.2.0...v2.2.1)
|
|
110
|
-
|
|
111
|
-
**Fixed bugs:**
|
|
112
|
-
|
|
113
|
-
- Update @knapsack-pro/core 1.4.1 [\#7](https://github.com/KnapsackPro/knapsack-pro-jest/pull/7) ([ArturT](https://github.com/ArturT))
|
|
114
|
-
|
|
115
|
-
## [v2.2.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.2.0) (2019-08-23)
|
|
116
|
-
|
|
117
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.1.0...v2.2.0)
|
|
118
|
-
|
|
119
|
-
**Implemented enhancements:**
|
|
120
|
-
|
|
121
|
-
- Add support for Jest CLI options [\#6](https://github.com/KnapsackPro/knapsack-pro-jest/pull/6) ([ArturT](https://github.com/ArturT))
|
|
122
|
-
|
|
123
|
-
## [v2.1.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.1.0) (2019-08-23)
|
|
124
|
-
|
|
125
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v2.0.0...v2.1.0)
|
|
126
|
-
|
|
127
|
-
**Implemented enhancements:**
|
|
128
|
-
|
|
129
|
-
- Update @knapsack-pro/core 1.4.0 and update docs for Semaphore 2.0 [\#5](https://github.com/KnapsackPro/knapsack-pro-jest/pull/5) ([ArturT](https://github.com/ArturT))
|
|
130
|
-
|
|
131
|
-
## [v2.0.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v2.0.0) (2019-07-06)
|
|
132
|
-
|
|
133
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v1.2.0...v2.0.0)
|
|
134
|
-
|
|
135
|
-
**Implemented enhancements:**
|
|
136
|
-
|
|
137
|
-
- Security update Jest dependency from ^23.6 to ^24.8 [\#4](https://github.com/KnapsackPro/knapsack-pro-jest/pull/4) ([ArturT](https://github.com/ArturT))
|
|
138
|
-
|
|
139
|
-
**Fixed bugs:**
|
|
140
|
-
|
|
141
|
-
- Update @knapsack-pro/core 1.3.1 [\#3](https://github.com/KnapsackPro/knapsack-pro-jest/pull/3) ([ArturT](https://github.com/ArturT))
|
|
142
|
-
|
|
143
|
-
## [v1.2.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v1.2.0) (2019-04-14)
|
|
144
|
-
|
|
145
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v1.1.0...v1.2.0)
|
|
146
|
-
|
|
147
|
-
**Implemented enhancements:**
|
|
148
|
-
|
|
149
|
-
- Reduce data transfer and speed up usage of Knapsack Pro API for Queue Mode [\#2](https://github.com/KnapsackPro/knapsack-pro-jest/pull/2) ([ArturT](https://github.com/ArturT))
|
|
150
|
-
|
|
151
|
-
## [v1.1.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v1.1.0) (2019-03-15)
|
|
152
|
-
|
|
153
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v1.0.0...v1.1.0)
|
|
154
|
-
|
|
155
|
-
**Implemented enhancements:**
|
|
156
|
-
|
|
157
|
-
- Add support for Semaphore CI 2.0 [\#1](https://github.com/KnapsackPro/knapsack-pro-jest/pull/1) ([ArturT](https://github.com/ArturT))
|
|
158
|
-
|
|
159
|
-
## [v1.0.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v1.0.0) (2019-01-10)
|
|
160
|
-
|
|
161
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/v0.1.0...v1.0.0)
|
|
162
|
-
|
|
163
|
-
## [v0.1.0](https://github.com/KnapsackPro/knapsack-pro-jest/tree/v0.1.0) (2019-01-06)
|
|
164
|
-
|
|
165
|
-
[Full Changelog](https://github.com/KnapsackPro/knapsack-pro-jest/compare/2b61b43cfe89059e8ac93eaebffc7918989c09af...v0.1.0)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|