@theholocron/jest-config 3.4.4 → 3.5.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.
- package/CHANGELOG.md +16 -10
- package/README.md +7 -7
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,61 +1,67 @@
|
|
|
1
1
|
# @theholocron/jest-config
|
|
2
2
|
|
|
3
|
+
## 3.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`63a4c85`](https://github.com/theholocron/configs/commit/63a4c858b9e76566798aeb1dd45e4feddd83fb70) Thanks [@iamnewton](https://github.com/iamnewton)! - Remove registry url
|
|
8
|
+
|
|
3
9
|
## 3.4.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
-
|
|
13
|
+
- [`2e3ce74`](https://github.com/theholocron/configs/commit/2e3ce74b54f83e344bcf79cb9e71fca0ed6e058e) Thanks [@iamnewton](https://github.com/iamnewton)! - Add in tsc as dependency
|
|
8
14
|
|
|
9
15
|
## 3.4.3
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
-
|
|
19
|
+
- [`11f27c4`](https://github.com/theholocron/configs/commit/11f27c4c3db883ebb8141b7c4075e74887defc90) Thanks [@iamnewton](https://github.com/iamnewton)! - Add dependency to storybook config
|
|
14
20
|
|
|
15
21
|
## 3.4.2
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
-
|
|
25
|
+
- [`d82832c`](https://github.com/theholocron/configs/commit/d82832c27aa3aa775365628bce98f82a5fe129b6) Thanks [@iamnewton](https://github.com/iamnewton)! - fix issue with deprecated prettier config values
|
|
20
26
|
|
|
21
27
|
## 3.4.1
|
|
22
28
|
|
|
23
29
|
### Patch Changes
|
|
24
30
|
|
|
25
|
-
-
|
|
31
|
+
- [`55b8263`](https://github.com/theholocron/configs/commit/55b8263d8ab99d804e6e5a77d677f1ad0637b5e1) Thanks [@iamnewton](https://github.com/iamnewton)! - Fix issue with prettier config main export
|
|
26
32
|
|
|
27
33
|
## 3.4.0
|
|
28
34
|
|
|
29
35
|
### Minor Changes
|
|
30
36
|
|
|
31
|
-
-
|
|
37
|
+
- [`6dfd8d4`](https://github.com/theholocron/configs/commit/6dfd8d4b1a58459d35af4253db59402e500f92b0) Thanks [@iamnewton](https://github.com/iamnewton)! - Update prettier to use module
|
|
32
38
|
|
|
33
39
|
## 3.3.0
|
|
34
40
|
|
|
35
41
|
### Minor Changes
|
|
36
42
|
|
|
37
|
-
-
|
|
43
|
+
- [`30e50b0`](https://github.com/theholocron/configs/commit/30e50b000dd1f9ac61e3ad1c3abee2ab3a52e7ac) Thanks [@iamnewton](https://github.com/iamnewton)! - Add in stylelint
|
|
38
44
|
|
|
39
45
|
## 3.2.1
|
|
40
46
|
|
|
41
47
|
### Patch Changes
|
|
42
48
|
|
|
43
|
-
-
|
|
49
|
+
- [`3d54f12`](https://github.com/theholocron/configs/commit/3d54f12618e8a6cc6ccc4559eb48ef402bb04d77) Thanks [@iamnewton](https://github.com/iamnewton)! - Fix the storybook config; its missing the index file from the export
|
|
44
50
|
|
|
45
51
|
## 3.2.0
|
|
46
52
|
|
|
47
53
|
### Minor Changes
|
|
48
54
|
|
|
49
|
-
-
|
|
55
|
+
- [`46d40c1`](https://github.com/theholocron/configs/commit/46d40c17d963b3c81fd6fdf308da4228112f5fe4) Thanks [@iamnewton](https://github.com/iamnewton)! - Add more to eslint-config, add in storybook-config
|
|
50
56
|
|
|
51
57
|
## 3.1.0
|
|
52
58
|
|
|
53
59
|
### Minor Changes
|
|
54
60
|
|
|
55
|
-
-
|
|
61
|
+
- [`4f8154a`](https://github.com/theholocron/configs/commit/4f8154a534d5d7668cd2659da322448f39646aed) Thanks [@iamnewton](https://github.com/iamnewton)! - Update to include Alex language linting in lint-staging
|
|
56
62
|
|
|
57
63
|
## 3.0.0
|
|
58
64
|
|
|
59
65
|
### Major Changes
|
|
60
66
|
|
|
61
|
-
-
|
|
67
|
+
- [`88d7f99`](https://github.com/theholocron/configs/commit/88d7f995dd02cdbe63817ac0d13905d5aea3777a) Thanks [@iamnewton](https://github.com/iamnewton)! - Initial release
|
package/README.md
CHANGED
|
@@ -14,16 +14,16 @@ In your project `package.json` add the following:
|
|
|
14
14
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
"jest": {
|
|
18
|
+
"displayName": "<project>",
|
|
19
|
+
"preset": "@theholocron/jest-config"
|
|
20
|
+
}
|
|
21
21
|
}
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## How We Test
|
|
25
25
|
|
|
26
|
-
Currently we use [Jest](https://jestjs.io/) for our testing framework.
|
|
26
|
+
Currently we use [Jest](https://jestjs.io/) for our testing framework. There isn't much to our configuration that differs from what Jest provides out of the box with the following exceptions:
|
|
27
27
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
28
|
+
- **Coverage**: we enforce coverage collection and require that all work be covered at least 80% at this time, with negligible reduction (< 1%) of coverage per PR
|
|
29
|
+
- **Directory Naming**: while we do support the [same regex that Jest provides](https://jestjs.io/docs/en/configuration#testregex-string--arraystring), our convention is to co-locate all test files as close to the source as possible with the suffix of `.test` added.
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/jest-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "A Jest preset for testing code within the Galaxy.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/jest-preset#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/theholocron/configs.git"
|
|
10
|
+
},
|
|
8
11
|
"license": "GPL-3.0",
|
|
9
12
|
"author": "Newton Koumantzelis",
|
|
10
13
|
"type": "module",
|
|
@@ -13,7 +16,7 @@
|
|
|
13
16
|
"@testing-library/jest-dom": "^6.6.2",
|
|
14
17
|
"@testing-library/react": "^16.0.1",
|
|
15
18
|
"@vitest/coverage-v8": "^2.1.3",
|
|
16
|
-
"cypress": "^13.15.
|
|
19
|
+
"cypress": "^13.15.1",
|
|
17
20
|
"jest": "29.7.0",
|
|
18
21
|
"jsdom": "^25.0.1",
|
|
19
22
|
"vitest": "^2.1.3"
|