Skip to content

Commit 8c5b330

Browse files
authored
chore(release): 9.0.0-next.13 (#905)
1 parent 1d2eba8 commit 8c5b330

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

CHANGELOG.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,49 @@
1+
# [9.0.0-next.13](https://github.com/thymikee/jest-preset-angular/compare/v9.0.0-next.12...v9.0.0-next.13) (2021-04-18)
2+
3+
4+
### Features
5+
6+
* allow css testing with `@Component` property `styles` ([#900](https://github.com/thymikee/jest-preset-angular/issues/900)) ([7cf86e0](https://github.com/thymikee/jest-preset-angular/commit/7cf86e006495c6b9f12f6eb274effc4f03ba97c5))
7+
* allow css testing with `@Component` property `styleUrls` ([#903](https://github.com/thymikee/jest-preset-angular/issues/903)) ([c275166](https://github.com/thymikee/jest-preset-angular/commit/c275166191e3e66be9bb1adc972a75c58650b32e))
8+
9+
10+
### BREAKING CHANGES
11+
12+
* Drop support for Node.js version 10 since it becomes EOL on **2021-04-30**. To support Angular 12, Node.js **12.13+** or **14.15+** is required.
13+
* `jest-preset-angular` now allows testing with all Angular supported style extensions.
14+
15+
Users who are specifying in jest config
16+
```
17+
module.exports = {
18+
globals: {
19+
'ts-jest': {
20+
tsconfig: '<rootDir>/tsconfig.spec.json',
21+
stringifyContentPathRegex: '\\.html$',
22+
},
23+
},
24+
transform: {
25+
'^.+\\.(ts|js|html)$': 'jest-preset-angular',
26+
},
27+
}
28+
```
29+
30+
should change to
31+
32+
```
33+
module.exports = {
34+
globals: {
35+
'ts-jest': {
36+
tsconfig: '<rootDir>/tsconfig.spec.json',
37+
stringifyContentPathRegex: '\\.(html|css|sass|scss|less|styl)$',
38+
},
39+
},
40+
transform: {
41+
'^.+\\.(ts|js|html|css|sass|scss|less|styl)$': 'jest-preset-angular',
42+
},
43+
}
44+
```
45+
46+
147
# [9.0.0-next.12](https://github.com/thymikee/jest-preset-angular/compare/v9.0.0-next.11...v9.0.0-next.12) (2021-03-31)
248

349

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jest-preset-angular",
3-
"version": "9.0.0-next.12",
3+
"version": "9.0.0-next.13",
44
"description": "Jest preset configuration for Angular projects",
55
"license": "MIT",
66
"main": "build/index.js",

0 commit comments

Comments
 (0)