jest-preset-angular 8.2.1 → 8.4.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/CHANGELOG.md CHANGED
@@ -1,94 +1,174 @@
1
- ## Changelog (master)
1
+ # [8.4.0](https://github.com/thymikee/jest-preset-angular/compare/v8.3.2...v8.4.0) (2021-03-04)
2
2
 
3
- ### v8.2.1
4
3
 
5
- #### Features
4
+ ### Features
6
5
 
7
- * Support Jest 26 ([#374](https://github.com/thymikee/jest-preset-angular/pull/374))
6
+ * add `ngcc-jest-processor` util script ([#853](https://github.com/thymikee/jest-preset-angular/issues/853)) ([e8c9689](https://github.com/thymikee/jest-preset-angular/commit/e8c9689fa792fb64634156eef00b06e3b1e604e5))
8
7
 
9
- ### v8.2.0
10
8
 
11
- #### Features
9
+ ### DEPRECATIONS
12
10
 
13
- * Make `AngularSnapshotSerializer` remove auto-generated angular classes in addition to attributes
11
+ * Import serializer via `'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js'` is deprecated in favor of `'jest-preset-angular/build/serializers/no-ng-attributes'`
12
+ * Import serializer via `'jest-preset-angular/build/AngularSnapshotSerializer.js'` is deprecated in favor of `'jest-preset-angular/build/serializers/ng-snapshot'`
13
+ * Import serializer via `'jest-preset-angular/build/HTMLCommentSerializer.js'` is deprecated in favor of `'jest-preset-angular/build/serializers/html-comment'`
14
+ * Import setup file via `import 'jest-preset-angular'` is deprecated in favor of `import 'jest-preset-angular/setup-jest'`
14
15
 
15
- ### v8.1.3
16
16
 
17
- #### Fixes
18
17
 
19
- * Make `AngularSnapshotSerializer` compatible with Ivy ([#366](https://github.com/thymikee/jest-preset-angular/pull/366))
18
+ ## [8.3.2](https://github.com/thymikee/jest-preset-angular/compare/v8.3.1...v8.3.2) (2020-10-23)
20
19
 
21
- ### v8.1.2
22
20
 
23
- #### Fixes
21
+ ### Chores
24
22
 
25
- * Simplify zone patch test method implementation to cover tests with string literals ([#361](https://github.com/thymikee/jest-preset-angular/pull/361))
23
+ * **config**: switch to `tsconfig` for `jest-preset.js`
26
24
 
27
- ### v8.1.1
28
25
 
29
- #### Fixes
30
26
 
31
- * Zone.js patch handles test with `done` correctly ([#357](https://github.com/thymikee/jest-preset-angular/pull/357))
27
+ ## [8.3.1](https://github.com/thymikee/jest-preset-angular/compare/v8.2.1...v8.3.1) (2020-08-23)
32
28
 
33
- ### v8.1.0
34
29
 
35
- #### Features
30
+ ### Bug Fixes
36
31
 
37
- * Run `test.each` in Proxyzone ([#340](https://github.com/thymikee/jest-preset-angular/pull/340)).
38
- * Update `peerDependencies` for `jest` to v25 ([#346](https://github.com/thymikee/jest-preset-angular/pull/346)).
39
- * Update `dependencies` for `pretty-format` and `ts-jest` to v25 ([#346](https://github.com/thymikee/jest-preset-angular/pull/346)).
40
- * Remove `jest-environment-jsdom-fifteen` from dependencies and preset, closes ([#325](https://github.com/thymikee/jest-preset-angular/issues/325))
32
+ * Correct wrong published content in **v8.3.0**
41
33
 
42
- #### Chore && Maintenance
43
34
 
44
- * Update project `devDependencies`.
45
- * Update example app dependencies.
46
35
 
47
- ### v8.0.0
48
36
 
49
- #### Features
50
- * (**BREAKING**): Refine ast-transformer behavior: only transform `styles`-assignments inside @Component ([#261](https://github.com/thymikee/jest-preset-angular/pull/261)) and TypeScript v2.9 `createStringLiteral` is polyfilled if an older version is used ([#272](https://github.com/thymikee/jest-preset-angular/issues/272)).
51
- * (**BREAKING**): Restructure project with `src` and `build` folder ([#307](https://github.com/thymikee/jest-preset-angular/pull/307)).
52
- * (**BREAKING**): Support `tsconfig.spec.json` in root folder by default ([#309](https://github.com/thymikee/jest-preset-angular/pull/309)).
53
- * (**BREAKING**): Enable AngularNoAngularNoNgAttributesSnapshotSerializer (created in [#97](https://github.com/thymikee/jest-preset-angular/pull/97)) by default ([#318](https://github.com/thymikee/jest-preset-angular/pull/318)).
54
- * Remove `core-js` dependency by using internal, minimal reflect-metadata ([#315](https://github.com/thymikee/jest-preset-angular/pull/315)).
37
+ # [8.3.0](https://github.com/thymikee/jest-preset-angular/compare/v8.2.1...v8.3.0) (2020-08-23)
38
+
39
+
40
+ ### Features
41
+
42
+ * add support for zone.js 0.11.1 ([#448](https://github.com/thymikee/jest-preset-angular/issues/448)) ([3879976](https://github.com/thymikee/jest-preset-angular/commit/3879976f80e2b41533e6a4c564993490d1ab8cc3))
43
+
44
+
45
+ ### Bug Fixes
46
+
47
+ * change `astTransformers` in preset config ([#443](https://github.com/thymikee/jest-preset-angular/pull/443)) ([276784](https://github.com/thymikee/jest-preset-angular/commit/1011d15bb8102c4762f19b3997bd161a2b276784)), closes [#439](https://github.com/thymikee/jest-preset-angular/issues/439)
48
+
49
+
50
+
51
+ ## [8.2.1](https://github.com/thymikee/jest-preset-angular/compare/v8.2.0...v8.2.1) (2020-06-19)
52
+
53
+
54
+ ### Features
55
+
56
+ * support jest 26 ([#374](https://github.com/thymikee/jest-preset-angular/issues/374)) ([5afe077](https://github.com/thymikee/jest-preset-angular/commit/5afe077b7d03dc6bd3f53621bfa1dfaae4054e61))
57
+
58
+
59
+
60
+ # [8.2.0](https://github.com/thymikee/jest-preset-angular/compare/v8.1.3...v8.2.0) (2020-05-07)
61
+
62
+
63
+ ### Features
64
+
65
+ * Merge in class filtering solution from issue [#336](https://github.com/thymikee/jest-preset-angular/issues/366) ([#343](https://github.com/thymikee/jest-preset-angular/issues/343)) ([e443d1b](https://github.com/thymikee/jest-preset-angular/commit/bcb2c22597bc172d8c8219f23e66af11ae443d1b)), closes [#336](https://github.com/thymikee/jest-preset-angular/issues/336)
66
+
67
+
68
+
69
+ ## [8.1.3](https://github.com/thymikee/jest-preset-angular/compare/v8.1.2...v8.1.3) (2020-03-31)
70
+
71
+
72
+ ### Features
73
+
74
+ * make `AngularSnapshotSerializer` compatible with Ivy ([#366](https://github.com/thymikee/jest-preset-angular/issues/366)) ([c648786](https://github.com/thymikee/jest-preset-angular/commit/c6487869e4501bb13a25ab44e6eb5ca53d7cf1cf))
75
+
76
+
77
+
78
+ ## [8.1.2](https://github.com/thymikee/jest-preset-angular/compare/v8.1.1...v8.1.2) (2020-03-15)
79
+
80
+
81
+ ### Bug Fixes
82
+
83
+ * simplify zone patch test method impl ([#361](https://github.com/thymikee/jest-preset-angular/issues/361)) ([4cc8708](https://github.com/thymikee/jest-preset-angular/commit/4cc87089e331d9c8bf63a5fe360ae410e3a2159a))
84
+
85
+
86
+
87
+ ## [8.1.1](https://github.com/thymikee/jest-preset-angular/compare/v8.1.0...v8.1.1) (2020-03-12)
88
+
89
+
90
+ ### Bug Fixes
91
+
92
+ * `zone.js` patch jest should handle done correctly ([#357](https://github.com/thymikee/jest-preset-angular/issues/357)) ([34287f5](https://github.com/thymikee/jest-preset-angular/commit/34287f5bddfbf9192d3191631274f7c60b966b3b))
93
+
94
+
95
+
96
+ # [8.1.0](https://github.com/thymikee/jest-preset-angular/compare/v8.0.0...v8.1.0) (2020-03-10)
97
+
98
+
99
+ ### Bug Fixes
100
+
101
+ * test.each should be in ProxyZone ([#340](https://github.com/thymikee/jest-preset-angular/issues/340)) ([17dc5bf](https://github.com/thymikee/jest-preset-angular/commit/17dc5bf93caf40a6bb469cb54083d86a8f01115b)), closes [#339](https://github.com/thymikee/jest-preset-angular/issues/339)
102
+
103
+
104
+
105
+ # [8.0.0](https://github.com/thymikee/jest-preset-angular/compare/v7.1.1...v8.0.0) (2019-10-21)
106
+
107
+
108
+ ### Features
109
+
110
+ * **breaking:** Refine ast-transformer behavior: only transform `styles`-assignments inside @Component ([#261](https://github.com/thymikee/jest-preset-angular/pull/261)) and TypeScript v2.9 `createStringLiteral` is polyfilled if an older version is used ([#272](https://github.com/thymikee/jest-preset-angular/issues/272)).
111
+ * **breaking:** Restructure project with `src` and `build` folder ([#307](https://github.com/thymikee/jest-preset-angular/pull/307)).
112
+ * **breaking:** Support `tsconfig.spec.json` in root folder by default ([#309](https://github.com/thymikee/jest-preset-angular/pull/309)).
113
+ * **breaking:** Enable `AngularNoAngularNoNgAttributesSnapshotSerializer` (created in [#97](https://github.com/thymikee/jest-preset-angular/pull/97)) by default ([#318](https://github.com/thymikee/jest-preset-angular/pull/318)).
114
+ * Remove `core-js` dependency by using internal, minimal `reflect-metadata` ([#315](https://github.com/thymikee/jest-preset-angular/pull/315)).
115
+
116
+
117
+ ### Chores
55
118
 
56
- #### Chore && Maintenance
57
- * Update example app to match Angular 8 Boilerplate ([#311](https://github.com/thymikee/jest-preset-angular/pull/311)).
58
- * Update example app to not use karma, extract jest config, fix paths ([#316](https://github.com/thymikee/jest-preset-angular/pull/316)).
59
119
  * Update jsdom to current version 15 ([#318](https://github.com/thymikee/jest-preset-angular/pull/318)).
60
120
 
61
- #### Migration Guide
121
+
122
+ ### BREAKING CHANGES
123
+
62
124
  * If the `astTransformers` are referenced in a custom `jest` config, `[ 'jest-preset-angular/build/InlineFilesTransformer', 'jest-preset-angular/build/StripStylesTransformer']` have to be set instead.
63
125
  * Serializers, transformers and `setupJest` have to be referenced from the `jest-preset-angular/build/`-folder in a custom config. Existing references have to be aligned.
64
126
  * If your `tsconfig.spec.json` is located in `src`, move it to your root folder and adjust the referenced files and paths inside, or align your jest configuration as discussed in the [README.md](https://github.com/thymikee/jest-preset-angular/blob/master/README.md#custom-tsconfig).
65
127
  * In an Angular 8 project or higher, `core-js` should no longer be a dependency declared in `package.json`, unless it's imported manually in the code.
66
128
 
67
- ### v7.1.0
68
129
 
69
- #### Features
70
- * Added `AngularNoNgAttributesSnapshotSerializer`. Using this serializer makes snapshots clearer and more human-readable. You have to apply this serializer manually by redefining `snapshotSerializers` `jest` option.
71
130
 
72
- #### Chore && Maintenance
131
+ ## [7.1.0](https://github.com/thymikee/jest-preset-angular/compare/v7.0.0...v7.1.0) (2019-05-20)
132
+
133
+
134
+ ### Features
135
+
136
+ * component serializer without ng-* attributes ([#97](https://github.com/thymikee/jest-preset-angular/issues/97)) ([1079528](https://github.com/thymikee/jest-preset-angular/commit/10795285b9b641ee1f428011e97037050b544011))
137
+ * support `core-js` >=2.0.0 < 4.0.0 ([#246](https://github.com/thymikee/jest-preset-angular/issues/246)) ([239a647](https://github.com/thymikee/jest-preset-angular/commit/239a6471dcbeac9a0c4d4d33e077060c109e0089))
138
+
139
+
140
+ ### Chores
141
+
73
142
  * Fixed a CI cache issue in the example app, which would not always use the current version of the preset in the test runs.
74
143
 
75
- ### v7.0.0
76
144
 
77
- #### Features
78
- * (**BREAKING**): Upgrade ts-jest to ^23.10.4 and use ast-transformer instead of processor ([#204](https://github.com/thymikee/jest-preset-angular/pull/204))
79
- * Upgrade Jest to 24 ([#224](https://github.com/thymikee/jest-preset-angular/pull/224))
80
- * Use test environment JSDOM v13 by default (drops Node below 8) ([#229](https://github.com/thymikee/jest-preset-angular/pull/229))
81
- * Embed `jest-zone-patch` into this preset ([#214](https://github.com/thymikee/jest-preset-angular/pull/214))
82
145
 
83
- #### Chore & Maintenance
84
- * Remove template literal character escaping (reverts [#34](https://github.com/thymikee/jest-preset-angular/pull/34))
85
- * Moved @types/jest to devDependencies ([#227](https://github.com/thymikee/jest-preset-angular/pull/227)), close ([#226](https://github.com/thymikee/jest-preset-angular/issues/226))
86
- * Upgrade example app dependencies ([#233](https://github.com/thymikee/jest-preset-angular/pull/233))
146
+ # [7.0.0](https://github.com/thymikee/jest-preset-angular/compare/v6.0.1...v7.0.0) (2019-03-08)
147
+
148
+
149
+ ### Bug Fixes
150
+
151
+ * moved `@types/jest` to `devDependencies` ([#227](https://github.com/thymikee/jest-preset-angular/issues/227)) ([d65fdc9](https://github.com/thymikee/jest-preset-angular/commit/d65fdc9092188bcb6d30bb5afada0afb89c53588))
152
+
153
+
154
+ ### Features
155
+
156
+ * adjust semver range of `jest-zone-patch` ([#209](https://github.com/thymikee/jest-preset-angular/issues/209)) ([1c60de7](https://github.com/thymikee/jest-preset-angular/commit/1c60de799bcfbd22ff7bf79a67bb58c31ac8b53e))
157
+ * Import jest-zone-patch ([#214](https://github.com/thymikee/jest-preset-angular/issues/214)) ([66987ed](https://github.com/thymikee/jest-preset-angular/commit/66987ed0e00ace117b3900e5b0e9b5dbef4f071c)), closes [/github.com/thymikee/jest-zone-patch/pull/9#issuecomment-445772763](https://github.com//github.com/thymikee/jest-zone-patch/pull/9/issues/issuecomment-445772763)
158
+ * Jest 24 ([#224](https://github.com/thymikee/jest-preset-angular/issues/224)) ([7f7d0f4](https://github.com/thymikee/jest-preset-angular/commit/7f7d0f4a7f2fafc699e0f720090fba4547dfaec4)), closes [#223](https://github.com/thymikee/jest-preset-angular/issues/223)
159
+ * jsdom-v13 ([#229](https://github.com/thymikee/jest-preset-angular/issues/229)) ([864440e](https://github.com/thymikee/jest-preset-angular/commit/864440e93172368c60daa9423aa31e4e37c0e3ad)), closes [#216](https://github.com/thymikee/jest-preset-angular/issues/216)
160
+ * **breaking:** Implement `astTransformer` compatible with `ts-jest` 23.10 ([#204](https://github.com/thymikee/jest-preset-angular/issues/204)) ([adad842](https://github.com/thymikee/jest-preset-angular/commit/adad842f3df3bb96c57e9790a74a4ed9bdb7b3b6)), closes [#195](https://github.com/thymikee/jest-preset-angular/issues/195) [#201](https://github.com/thymikee/jest-preset-angular/issues/201) [#201](https://github.com/thymikee/jest-preset-angular/issues/201) [#201](https://github.com/thymikee/jest-preset-angular/issues/201)
161
+
162
+
163
+ ### Chores
164
+
165
+ * Remove template literal character escaping, reverts [#34](https://github.com/thymikee/jest-preset-angular/pull/34)
87
166
  * Migrate CI config to CircleCI v2 ([#212](https://github.com/thymikee/jest-preset-angular/pull/212))
88
- * Docs: do not use .babelrc file but rather babel.config.js ([#231](https://github.com/thymikee/jest-preset-angular/pull/231))
89
- * Docs: add astTransformers in configuration example ([#218](https://github.com/thymikee/jest-preset-angular/pull/218))
167
+ * **docs:** do not use `.babelrc` file but rather `babel.config.js` ([#231](https://github.com/thymikee/jest-preset-angular/pull/231))
168
+ * **docs:** add `astTransformers` in configuration example ([#218](https://github.com/thymikee/jest-preset-angular/pull/218))
90
169
 
91
- #### Migration Guide
170
+
171
+ ### BREAKING CHANGES
92
172
 
93
173
  * If `global` and `transform` are not set in your configuration in `jest.config.json`, `jest.config.js` or `package.json`, you are done.
94
174
  * If the `global` value of the configuration was overridden, adjust
@@ -98,127 +178,263 @@
98
178
  * If `transform` was overridden, remove the entry pointing at `preprocessor.js` and add `"^.+\\.(ts|js|html)$": "ts-jest"` to the `transform`-object.
99
179
  * If in doubt, check the configuration example in `jest-preset.json`.
100
180
 
101
- ### v6.0.1
102
181
 
103
- * Fix: Support backtick quoted templateUrl. ([#182](https://github.com/thymikee/jest-preset-angular/pull/182))
104
- * Fix: Restrict version of ts-jest to ~23.1.3 ([#196](https://github.com/thymikee/jest-preset-angular/pull/196))
105
- * Chore: Add HeroesComponent example with mocked service provider ([#110](https://github.com/thymikee/jest-preset-angular/pull/110))
106
- * Chore: Adjust troubleshooting to support configuration with Angular 6 ([#187](https://github.com/thymikee/jest-preset-angular/pull/187))
107
- * Chore: Update dependencies for example app ([#179](https://github.com/thymikee/jest-preset-angular/pull/179))
182
+
183
+ ## [6.0.1](https://github.com/thymikee/jest-preset-angular/compare/v6.0.0...v6.0.1) (2018-09-19)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * restrict version of `ts-jest` to ~23.1.3 ([#196](https://github.com/thymikee/jest-preset-angular/issues/196)) ([62673cf](https://github.com/thymikee/jest-preset-angular/commit/62673cf23e5ecfd77ec293ea23d1ccd55035f22c))
189
+ * support backtick quoted `templateUrl` ([#182](https://github.com/thymikee/jest-preset-angular/issues/182)) ([145c8ea](https://github.com/thymikee/jest-preset-angular/commit/145c8eaa0fb5d28a4031f5aafad4b85087b2da1c))
190
+
191
+
192
+ ### Chores
193
+
194
+ * Add HeroesComponent example with mocked service provider ([#110](https://github.com/thymikee/jest-preset-angular/pull/110))
195
+ * **docs:** Adjust troubleshooting to support configuration with Angular 6 ([#187](https://github.com/thymikee/jest-preset-angular/pull/187))
196
+
197
+
198
+
199
+ # [6.0.0](https://github.com/thymikee/jest-preset-angular/compare/v5.2.3...v6.0.0) (2018-08-03)
200
+
201
+
202
+ ### Features
203
+
204
+ * Compatibility with `jest` v23 ([#173](https://github.com/thymikee/jest-preset-angular/pull/173))
205
+
206
+
207
+
208
+ ## [5.2.3](https://github.com/thymikee/jest-preset-angular/compare/v5.2.2...v5.2.3) (2018-06-26)
209
+
210
+
211
+ ### Bug Fixes
212
+
213
+ * transformer breaking on spaces before colon ([#165](https://github.com/thymikee/jest-preset-angular/issues/165)) ([bd5b569](https://github.com/thymikee/jest-preset-angular/commit/bd5b5692fd6ccc79293edd9608decd2a717cf8bc)), closes [#164](https://github.com/thymikee/jest-preset-angular/issues/164)
214
+
215
+
216
+
217
+ ## [5.2.2](https://github.com/thymikee/jest-preset-angular/compare/v5.2.1...v5.2.2) (2018-04-27)
218
+
219
+
220
+ ### Bug Fixes
221
+
222
+ * update `STYLE_URLS_REGEX` to not break on multiple new lines ([#139](https://github.com/thymikee/jest-preset-angular/pull/139))
223
+
224
+
225
+ ### Chores
226
+
227
+ * specify angular modules as peerDependencies ([#141](https://github.com/thymikee/jest-preset-angular/pull/141))
228
+ * **docs:** add more troubleshooting docs ([#129](https://github.com/thymikee/jest-preset-angular/pull/129))
229
+
230
+
231
+ ## [5.2.1](https://github.com/thymikee/jest-preset-angular/compare/v5.2.0...v5.2.1) (2018-03-08)
232
+
233
+
234
+ ### Bug Fixes
235
+
236
+ * update `ts-jest` to `22.4.1` – urgent fix for `enableTsDiagnostics` ([#130](https://github.com/thymikee/jest-preset-angular/pull/130))
237
+
238
+
239
+ ### Chores
240
+
241
+ * Change `testRegex` to `testMatch` ([#131](https://github.com/thymikee/jest-preset-angular/pull/131))
242
+
243
+
244
+
245
+ # [5.2.0](https://github.com/thymikee/jest-preset-angular/compare/v5.1.0...v5.2.0) (2018-02-26)
246
+
247
+
248
+ ### Chores
249
+
250
+ * Upgrade ts-jest and remove `mapCoverage` from `jest-preset` (requires `jest@^22.4.0` as a dependency now) ([#127](https://github.com/thymikee/jest-preset-angular/pull/127))
251
+
252
+
253
+
254
+ # [5.1.0](https://github.com/thymikee/jest-preset-angular/compare/v5.0.0...v5.1.0) (2018-02-22)
255
+
256
+
257
+ ### Features
258
+
259
+ * Simplify installation by adding @types/jest as a package dependency ([#116](https://github.com/thymikee/jest-preset-angular/pull/116))
260
+ * Move serializers setup to jest config to be possible to override them ([#126](https://github.com/thymikee/jest-preset-angular/pull/126))
261
+
262
+
263
+ ### Chores
264
+
265
+ * **docs:** Add a configuration section with vendor libraries like jQuery ([#117](https://github.com/thymikee/jest-preset-angular/pull/117))
266
+
267
+ # [5.0.0](https://github.com/thymikee/jest-preset-angular/compare/v4.0.2...v5.0.0) (2017-12-21)
268
+
269
+
270
+ ### Chores
271
+
272
+ * Get rid of explicit `jsdom` dependency and custom test environment
273
+
274
+
275
+ ### BREAKING CHANGES
276
+
277
+ * Upgrade Jest to 22 ([#109](https://github.com/thymikee/jest-preset-angular/pull/109))
278
+ * Upgrade `ts-jest` to 22 ([#109](https://github.com/thymikee/jest-preset-angular/pull/109))
279
+
280
+
281
+
282
+ ## [4.0.2](https://github.com/thymikee/jest-preset-angular/compare/v4.0.0...v4.0.2) (2017-12-11)
283
+
284
+
285
+ ### BREAKING CHANGES
286
+
287
+ * Change to MIT license ([#102](https://github.com/thymikee/jest-preset-angular/pull/102))
288
+
289
+
290
+
291
+ # [4.0.1](https://github.com/thymikee/jest-preset-angular/compare/v4.0.0...v4.0.1) (2017-10-08)
292
+
293
+
294
+ ### Bug Fixes
295
+
296
+ * Add doctype to test envrionment ([#78](https://github.com/thymikee/jest-preset-angular/pull/78))
297
+
298
+
299
+
300
+ # [4.0.0](https://github.com/thymikee/jest-preset-angular/compare/v4.0.0-alpha.1...v4.0.0) (2017-10-03)
301
+
302
+
303
+ ### Bug Fixes
304
+
305
+ * `fakeAsync` not working with `zone.js` >= 0.8.11
306
+
307
+
308
+ ### Features
309
+
310
+ * Custom test environment with newest version of `jsdom` ([#75](https://github.com/thymikee/jest-preset-angular/pull/75))
311
+ * Use universal `zone.js` instead of node-specific one ([#76](https://github.com/thymikee/jest-preset-angular/pull/76))
312
+
313
+
314
+ ### BREAKING CHANGES
315
+
316
+ * Drop Node 4 support (because of `jsdom` upgrade
317
+
318
+
319
+
320
+ ## [3.0.2](https://github.com/thymikee/jest-preset-angular/compare/v3.0.0...v3.0.2) (2017-09-21)
321
+
322
+
323
+ ### Bug Fixes
324
+
325
+ * issues with `moduleNameMapper` not overriding mappings ([#53](https://github.com/thymikee/jest-preset-angular/pull/53))
326
+
327
+
328
+ ### BREAKING CHANGES
329
+
330
+ * Upgrade `jest` to 21
331
+ * Upgrade `ts-jest` to 21
332
+ * `moduleNameMapper` no longer maps absolute paths to `src` by default, you need to declare the mappings explicitly ([#53](https://github.com/thymikee/jest-preset-angular/pull/53))
333
+
334
+
335
+
336
+ ## [2.0.5](https://github.com/thymikee/jest-preset-angular/compare/v2.0.4...v2.0.5) (2017-07-07)
337
+
338
+
339
+ ### Bug Fixes
340
+
341
+ * Bump to `ts-jest` 20.0.7
342
+
343
+
344
+
345
+ ## [2.0.4](https://github.com/thymikee/jest-preset-angular/compare/v2.0.3...v2.0.4) (2017-06-13)
346
+
347
+
348
+ ### Bug Fixes
349
+
350
+ * Angular injection errors are now visible
351
+ * scape template literals special chars ([#34](https://github.com/thymikee/jest-preset-angular/pull/34))
352
+
353
+
354
+
355
+ # [2.0.0](https://github.com/thymikee/jest-preset-angular/compare/v1.2.1...v2.0.0) (2017-05-07)
356
+
357
+
358
+ ### BREAKING CHANGES
359
+
360
+ * Upgrade to Jest 20
361
+ * Better snapshot rendering
362
+
363
+
364
+
365
+ # [1.2.0](https://github.com/thymikee/jest-preset-angular/compare/v1.1.3...v1.2.0) (2017-04-29)
366
+
367
+
368
+ ### Features
369
+
370
+ * Support absolute URLs in `templateUrl`
108
371
 
109
372
 
110
- ### v6.0.0
111
373
 
112
- * Chore: Upgrade `ts-jest`, `@types/jest` in dependencies to be compatible with `jest` v23. ([#173](https://github.com/thymikee/jest-preset-angular/pull/173))
113
- * Chore: Upgrade peer dependency `jest` to be compatible with `jest` v23. ([#173](https://github.com/thymikee/jest-preset-angular/pull/173))
374
+ # [1.1.0](https://github.com/thymikee/jest-preset-angular/compare/v1.0.0...v1.1.0) (2017-04-22)
114
375
 
115
- ### v5.2.3
116
376
 
117
- * Chore: Upgrade example app to Angular 6 ([#150](https://github.com/thymikee/jest-preset-angular/pull/150))
118
- * Chore: Upgrade dependencies for the repository ([#150](https://github.com/thymikee/jest-preset-angular/pull/150))
119
- * Fix: fix `preprocess.js` to not break on spaces before colon ([#165](https://github.com/thymikee/jest-preset-angular/pull/165))
377
+ ### Features
120
378
 
121
- ### v5.2.2
379
+ * Support snapshot testing ([#24](https://github.com/thymikee/jest-preset-angular/pull/24))
122
380
 
123
- * Fix: specify angular modules as peerDependencies ([#141](https://github.com/thymikee/jest-preset-angular/pull/141))
124
- * Fix: update `STYLE_URLS_REGEX` to not break on multiple new lines ([#139](https://github.com/thymikee/jest-preset-angular/pull/139))
125
- * Docs: add more troubleshooting docs ([#129](https://github.com/thymikee/jest-preset-angular/pull/129))
126
381
 
127
382
 
128
- ### v5.2.1
383
+ # [1.0.0](https://github.com/thymikee/jest-preset-angular/compare/v1.0.0-alpha...v1.0.0) (2017-04-13)
129
384
 
130
- * Chore: Change `testRegex` to `testMatch` ([#131](https://github.com/thymikee/jest-preset-angular/pull/131))
131
- * Fix: Update `ts-jest` to `22.4.1` – urgent fix for `enableTsDiagnostics` ([#130](https://github.com/thymikee/jest-preset-angular/pull/130))
132
385
 
133
- ### v5.2.0
386
+ ### BREAKING CHANGES
134
387
 
135
- * Chore: Upgrade ts-jest and remove `mapCoverage` from `jest-preset` (requires `jest@^22.4.0` as a dependency now) ([#127](https://github.com/thymikee/jest-preset-angular/pull/127))
388
+ * `rxjs` is no longer auto included ([#18](https://github.com/thymikee/jest-preset-angular/pull/18))
136
389
 
137
- ### v5.1.0
138
390
 
139
- * Feature: Simplify installation by adding @types/jest as a package dependency ([#116](https://github.com/thymikee/jest-preset-angular/pull/116))
140
- * Feature: Move serializers setup to jest config to be possible to override them ([#126](https://github.com/thymikee/jest-preset-angular/pull/126))
141
- * Chore: Upgrade example app to Angular 5.2 using Angular CLI 1.6 ([#116](https://github.com/thymikee/jest-preset-angular/pull/116))
142
- * Docs: Add a configuration section with vendor libraries like jQuery ([#117](https://github.com/thymikee/jest-preset-angular/pull/117))
143
391
 
144
- ### v5.0.0
392
+ ## [0.0.14](https://github.com/thymikee/jest-preset-angular/compare/v0.0.13...v0.0.14) (2017-04-12)
145
393
 
146
- * Breaking: Upgrade Jest to 22 ([#109](https://github.com/thymikee/jest-preset-angular/pull/109))
147
- * Breaking: Upgrade `ts-jest` to 22 ([#109](https://github.com/thymikee/jest-preset-angular/pull/109))
148
- * Chore: Get rid of explicit `jsdom` dependency and custom test environment
149
394
 
150
- ### v4.0.2
395
+ ### Bug Fixes
151
396
 
152
- * Breaking: Change to MIT license ([#102](https://github.com/thymikee/jest-preset-angular/pull/102))
153
- * Fix: Upgrade example app to Angular 5.0.0 using Angular CLI 1.6.1 ([#101](https://github.com/thymikee/jest-preset-angular/pull/101))
154
- * Fix: Make example app compile ([#101](https://github.com/thymikee/jest-preset-angular/pull/101))
155
- * Chore: Update dependencies ([#101](https://github.com/thymikee/jest-preset-angular/pull/101))
397
+ * Bump `jest-zone-patch` version with `zone.js` peer dependency
156
398
 
157
- ### v4.0.1
158
399
 
159
- * Fix: Add doctype to test envrionment ([#78](https://github.com/thymikee/jest-preset-angular/pull/78))
160
400
 
161
- ### v4.0.0
401
+ ## [0.0.13](https://github.com/thymikee/jest-preset-angular/compare/v0.0.12...v0.0.13) (2017-04-05)
162
402
 
163
- * Breaking: Drop Node 4 support (because of `jsdom` upgrade)
164
- * Feature: Custom test environment with newest version of `jsdom` ([#75](https://github.com/thymikee/jest-preset-angular/pull/75))
165
- * Feature: Use universal `zone.js` instead of node-specific one ([#76](https://github.com/thymikee/jest-preset-angular/pull/76))
166
- * Fix: `fakeAsync` not working with `zone.js` >= 0.8.11
167
403
 
168
- ### v3.0.1
404
+ ### Bug Fixes
169
405
 
170
- * Breaking: Upgrade Jest to 21
171
- * Breaking: Upgrade `ts-jest` to 21
172
- * Breaking: `moduleNameMapper` no longer maps absolute paths to `src` by default, you need to declare the mappings explicitly ([#53](https://github.com/thymikee/jest-preset-angular/pull/53))
173
- * Fix: issues with `moduleNameMapper` not overriding mappings ([#53](https://github.com/thymikee/jest-preset-angular/pull/53))
406
+ * Overhaul regex for styleUrls ([#10](https://github.com/thymikee/jest-preset-angular/pull/10))
174
407
 
175
- ### v2.0.5
176
408
 
177
- * Fix: Bump to ts-jest 20.0.7
178
409
 
179
- ### v2.0.2
410
+ ## [0.0.10](https://github.com/thymikee/jest-preset-angular/compare/v0.0.9...v0.0.10) (2017-04-04)
180
411
 
181
- * Fix: Angular injection errors are now visible
182
- * Fix: Escape template literals special chars ([#34](https://github.com/thymikee/jest-preset-angular/pull/34))
183
412
 
184
- ### v2.0.0
413
+ ### Bug Fixes
185
414
 
186
- * Breaking: Upgrade to Jest 20
187
- * Breaking: Better snapshot rendering
415
+ * Improve global mocks
188
416
 
189
- ### v1.2.0
190
417
 
191
- * Feature: Support absolute URLs in `templateUrl`
192
418
 
193
- ### v1.1.0
419
+ ## [0.0.9](https://github.com/thymikee/jest-preset-angular/compare/v0.0.8...v0.0.9) (2017-04-04)
194
420
 
195
- * Feature: Support snapshot testing ([#24](https://github.com/thymikee/jest-preset-angular/pull/24))
196
421
 
197
- ### v1.0.0
422
+ ### Features
198
423
 
199
- * Breaking change: `rxjs` is no longer auto included ([#18](https://github.com/thymikee/jest-preset-angular/pull/18))
424
+ * Allow all folders within src for module resolution ([#6](https://github.com/thymikee/jest-preset-angular/pull/6))
200
425
 
201
- ### v0.1.0
202
426
 
203
- * Fix: Coverage support ([#15](https://github.com/thymikee/jest-preset-angular/pull/15))
204
- * Adjustment: Add `json` as a valid module extension ([#16](https://github.com/thymikee/jest-preset-angular/pull/16))
205
427
 
206
- ### v0.0.14
428
+ ## [0.0.8](https://github.com/thymikee/jest-preset-angular/compare/v0.0.5...v0.0.8) (2017-04-04)
207
429
 
208
- * Fix: Bump `jest-zone-patch` version with `zone.js` peer dependency
209
430
 
210
- ### v0.0.13
431
+ ### Bug Fixes
211
432
 
212
- * Fix: Overhaul regex for styleUrls ([#10](https://github.com/thymikee/jest-preset-angular/pull/10))
433
+ * Use `tsconfig.spec.json` instead of `tsconfig.app.json` as TS configuration for tests
213
434
 
214
- ### v0.0.10
215
435
 
216
- * Fix: Improve global mocks
217
436
 
218
- ### v0.0.9
437
+ ## 0.0.1 (2017-03-30)
219
438
 
220
- * Feature: Allow all folders within src for module resolution ([#6](https://github.com/thymikee/jest-preset-angular/pull/6))
221
439
 
222
- ### v0.0.8
223
440
 
224
- * Fix: use `tsconfig.spec.json` instead of `tsconfig.app.json` as TS configuration for tests
File without changes