jest-preset-angular 8.2.0 → 8.2.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/.idea/jest-preset-angular.iml +12 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +293 -0
- package/CHANGELOG.md +6 -0
- package/README.md +5 -3
- package/package.json +8 -8
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/jest-preset-angular.iml" filepath="$PROJECT_DIR$/.idea/jest-preset-angular.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="BranchesTreeState">
|
|
4
|
+
<expand>
|
|
5
|
+
<path>
|
|
6
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
7
|
+
<item name="LOCAL_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
8
|
+
</path>
|
|
9
|
+
<path>
|
|
10
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
11
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
12
|
+
</path>
|
|
13
|
+
<path>
|
|
14
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
15
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
16
|
+
<item name="GROUP_NODE:origin" type="e8cecc67:BranchNodeDescriptor" />
|
|
17
|
+
</path>
|
|
18
|
+
<path>
|
|
19
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
20
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
21
|
+
<item name="GROUP_NODE:origin" type="e8cecc67:BranchNodeDescriptor" />
|
|
22
|
+
<item name="GROUP_NODE:test" type="e8cecc67:BranchNodeDescriptor" />
|
|
23
|
+
</path>
|
|
24
|
+
<path>
|
|
25
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
26
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
27
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
28
|
+
</path>
|
|
29
|
+
<path>
|
|
30
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
31
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
32
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
33
|
+
<item name="GROUP_NODE:dependabot" type="e8cecc67:BranchNodeDescriptor" />
|
|
34
|
+
</path>
|
|
35
|
+
<path>
|
|
36
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
37
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
38
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
39
|
+
<item name="GROUP_NODE:dependabot" type="e8cecc67:BranchNodeDescriptor" />
|
|
40
|
+
<item name="GROUP_NODE:npm_and_yarn" type="e8cecc67:BranchNodeDescriptor" />
|
|
41
|
+
</path>
|
|
42
|
+
<path>
|
|
43
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
44
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
45
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
46
|
+
<item name="GROUP_NODE:greenkeeper" type="e8cecc67:BranchNodeDescriptor" />
|
|
47
|
+
</path>
|
|
48
|
+
<path>
|
|
49
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
50
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
51
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
52
|
+
<item name="GROUP_NODE:greenkeeper" type="e8cecc67:BranchNodeDescriptor" />
|
|
53
|
+
<item name="GROUP_NODE:@types" type="e8cecc67:BranchNodeDescriptor" />
|
|
54
|
+
</path>
|
|
55
|
+
<path>
|
|
56
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
57
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
58
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
59
|
+
<item name="GROUP_NODE:greenkeeper" type="e8cecc67:BranchNodeDescriptor" />
|
|
60
|
+
<item name="GROUP_NODE:default" type="e8cecc67:BranchNodeDescriptor" />
|
|
61
|
+
</path>
|
|
62
|
+
<path>
|
|
63
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
64
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
65
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
66
|
+
<item name="GROUP_NODE:greenkeeper" type="e8cecc67:BranchNodeDescriptor" />
|
|
67
|
+
<item name="GROUP_NODE:default" type="e8cecc67:BranchNodeDescriptor" />
|
|
68
|
+
<item name="GROUP_NODE:@angular" type="e8cecc67:BranchNodeDescriptor" />
|
|
69
|
+
</path>
|
|
70
|
+
<path>
|
|
71
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
72
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
73
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
74
|
+
<item name="GROUP_NODE:greenkeeper" type="e8cecc67:BranchNodeDescriptor" />
|
|
75
|
+
<item name="GROUP_NODE:default" type="e8cecc67:BranchNodeDescriptor" />
|
|
76
|
+
<item name="GROUP_NODE:@angular-devkit" type="e8cecc67:BranchNodeDescriptor" />
|
|
77
|
+
</path>
|
|
78
|
+
<path>
|
|
79
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
80
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
81
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
82
|
+
<item name="GROUP_NODE:greenkeeper" type="e8cecc67:BranchNodeDescriptor" />
|
|
83
|
+
<item name="GROUP_NODE:default" type="e8cecc67:BranchNodeDescriptor" />
|
|
84
|
+
<item name="GROUP_NODE:@types" type="e8cecc67:BranchNodeDescriptor" />
|
|
85
|
+
</path>
|
|
86
|
+
<path>
|
|
87
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
88
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
89
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
90
|
+
<item name="GROUP_NODE:release" type="e8cecc67:BranchNodeDescriptor" />
|
|
91
|
+
</path>
|
|
92
|
+
<path>
|
|
93
|
+
<item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
94
|
+
<item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
|
|
95
|
+
<item name="GROUP_NODE:upstream" type="e8cecc67:BranchNodeDescriptor" />
|
|
96
|
+
<item name="GROUP_NODE:test" type="e8cecc67:BranchNodeDescriptor" />
|
|
97
|
+
</path>
|
|
98
|
+
</expand>
|
|
99
|
+
<select />
|
|
100
|
+
</component>
|
|
101
|
+
<component name="ChangeListManager">
|
|
102
|
+
<list default="true" id="12a060aa-68eb-4003-ba4d-c8bf41ba3770" name="Default Changelist" comment="add github templates for issues and pull requests">
|
|
103
|
+
<change beforePath="$PROJECT_DIR$/CHANGELOG.md" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.md" afterDir="false" />
|
|
104
|
+
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
105
|
+
</list>
|
|
106
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
107
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
108
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
109
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
110
|
+
</component>
|
|
111
|
+
<component name="Git.Settings">
|
|
112
|
+
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
|
113
|
+
<map>
|
|
114
|
+
<entry key="$PROJECT_DIR$" value="github-templates" />
|
|
115
|
+
</map>
|
|
116
|
+
</option>
|
|
117
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
118
|
+
</component>
|
|
119
|
+
<component name="ProjectId" id="1bysfLDMpqai24DD0ZIL2cxJORr" />
|
|
120
|
+
<component name="ProjectViewState">
|
|
121
|
+
<option name="autoscrollFromSource" value="true" />
|
|
122
|
+
<option name="autoscrollToSource" value="true" />
|
|
123
|
+
<option name="hideEmptyMiddlePackages" value="true" />
|
|
124
|
+
<option name="showLibraryContents" value="true" />
|
|
125
|
+
</component>
|
|
126
|
+
<component name="PropertiesComponent">
|
|
127
|
+
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
|
128
|
+
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
|
129
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
|
130
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
131
|
+
<property name="nodejs_package_manager_path" value="yarn" />
|
|
132
|
+
</component>
|
|
133
|
+
<component name="RecentsManager">
|
|
134
|
+
<key name="CopyFile.RECENT_KEYS">
|
|
135
|
+
<recent name="$PROJECT_DIR$" />
|
|
136
|
+
</key>
|
|
137
|
+
</component>
|
|
138
|
+
<component name="SvnConfiguration">
|
|
139
|
+
<configuration />
|
|
140
|
+
</component>
|
|
141
|
+
<component name="TaskManager">
|
|
142
|
+
<task active="true" id="Default" summary="Default task">
|
|
143
|
+
<changelist id="12a060aa-68eb-4003-ba4d-c8bf41ba3770" name="Default Changelist" comment="" />
|
|
144
|
+
<created>1589615770000</created>
|
|
145
|
+
<option name="number" value="Default" />
|
|
146
|
+
<option name="presentableId" value="Default" />
|
|
147
|
+
<updated>1589615770000</updated>
|
|
148
|
+
<workItem from="1589615771733" duration="2293000" />
|
|
149
|
+
<workItem from="1589705413541" duration="1278000" />
|
|
150
|
+
<workItem from="1589706744737" duration="833000" />
|
|
151
|
+
<workItem from="1589733347480" duration="708000" />
|
|
152
|
+
<workItem from="1592572724207" duration="78000" />
|
|
153
|
+
</task>
|
|
154
|
+
<task id="LOCAL-00001" summary="feat: support jest 26">
|
|
155
|
+
<created>1589616003978</created>
|
|
156
|
+
<option name="number" value="00001" />
|
|
157
|
+
<option name="presentableId" value="LOCAL-00001" />
|
|
158
|
+
<option name="project" value="LOCAL" />
|
|
159
|
+
<updated>1589616003978</updated>
|
|
160
|
+
</task>
|
|
161
|
+
<task id="LOCAL-00002" summary="feat: support jest 26">
|
|
162
|
+
<created>1589616180015</created>
|
|
163
|
+
<option name="number" value="00002" />
|
|
164
|
+
<option name="presentableId" value="LOCAL-00002" />
|
|
165
|
+
<option name="project" value="LOCAL" />
|
|
166
|
+
<updated>1589616180015</updated>
|
|
167
|
+
</task>
|
|
168
|
+
<task id="LOCAL-00003" summary="feat: support jest 26">
|
|
169
|
+
<created>1589616575932</created>
|
|
170
|
+
<option name="number" value="00003" />
|
|
171
|
+
<option name="presentableId" value="LOCAL-00003" />
|
|
172
|
+
<option name="project" value="LOCAL" />
|
|
173
|
+
<updated>1589616575932</updated>
|
|
174
|
+
</task>
|
|
175
|
+
<task id="LOCAL-00004" summary="feat: support jest 26">
|
|
176
|
+
<created>1589617132033</created>
|
|
177
|
+
<option name="number" value="00004" />
|
|
178
|
+
<option name="presentableId" value="LOCAL-00004" />
|
|
179
|
+
<option name="project" value="LOCAL" />
|
|
180
|
+
<updated>1589617132033</updated>
|
|
181
|
+
</task>
|
|
182
|
+
<task id="LOCAL-00005" summary="feat: support jest 26">
|
|
183
|
+
<created>1589617196551</created>
|
|
184
|
+
<option name="number" value="00005" />
|
|
185
|
+
<option name="presentableId" value="LOCAL-00005" />
|
|
186
|
+
<option name="project" value="LOCAL" />
|
|
187
|
+
<updated>1589617196551</updated>
|
|
188
|
+
</task>
|
|
189
|
+
<task id="LOCAL-00006" summary="add github templates for issues and pull requests">
|
|
190
|
+
<created>1589617888710</created>
|
|
191
|
+
<option name="number" value="00006" />
|
|
192
|
+
<option name="presentableId" value="LOCAL-00006" />
|
|
193
|
+
<option name="project" value="LOCAL" />
|
|
194
|
+
<updated>1589617888710</updated>
|
|
195
|
+
</task>
|
|
196
|
+
<task id="LOCAL-00007" summary="feat: support jest 26">
|
|
197
|
+
<created>1589705600326</created>
|
|
198
|
+
<option name="number" value="00007" />
|
|
199
|
+
<option name="presentableId" value="LOCAL-00007" />
|
|
200
|
+
<option name="project" value="LOCAL" />
|
|
201
|
+
<updated>1589705600326</updated>
|
|
202
|
+
</task>
|
|
203
|
+
<task id="LOCAL-00008" summary="add github templates for issues and pull requests">
|
|
204
|
+
<created>1589733434673</created>
|
|
205
|
+
<option name="number" value="00008" />
|
|
206
|
+
<option name="presentableId" value="LOCAL-00008" />
|
|
207
|
+
<option name="project" value="LOCAL" />
|
|
208
|
+
<updated>1589733434673</updated>
|
|
209
|
+
</task>
|
|
210
|
+
<task id="LOCAL-00009" summary="add github templates for issues and pull requests">
|
|
211
|
+
<created>1589733454164</created>
|
|
212
|
+
<option name="number" value="00009" />
|
|
213
|
+
<option name="presentableId" value="LOCAL-00009" />
|
|
214
|
+
<option name="project" value="LOCAL" />
|
|
215
|
+
<updated>1589733454164</updated>
|
|
216
|
+
</task>
|
|
217
|
+
<option name="localTasksCounter" value="10" />
|
|
218
|
+
<servers />
|
|
219
|
+
</component>
|
|
220
|
+
<component name="TypeScriptGeneratedFilesManager">
|
|
221
|
+
<option name="version" value="2" />
|
|
222
|
+
</component>
|
|
223
|
+
<component name="Vcs.Log.History.Properties">
|
|
224
|
+
<option name="COLUMN_ORDER">
|
|
225
|
+
<list>
|
|
226
|
+
<option value="0" />
|
|
227
|
+
<option value="2" />
|
|
228
|
+
<option value="3" />
|
|
229
|
+
<option value="1" />
|
|
230
|
+
</list>
|
|
231
|
+
</option>
|
|
232
|
+
</component>
|
|
233
|
+
<component name="Vcs.Log.Tabs.Properties">
|
|
234
|
+
<option name="TAB_STATES">
|
|
235
|
+
<map>
|
|
236
|
+
<entry key="MAIN">
|
|
237
|
+
<value>
|
|
238
|
+
<State />
|
|
239
|
+
</value>
|
|
240
|
+
</entry>
|
|
241
|
+
</map>
|
|
242
|
+
</option>
|
|
243
|
+
<option name="oldMeFiltersMigrated" value="true" />
|
|
244
|
+
</component>
|
|
245
|
+
<component name="VcsManagerConfiguration">
|
|
246
|
+
<MESSAGE value="feat: support jest 26" />
|
|
247
|
+
<MESSAGE value="add github templates for issues and pull requests" />
|
|
248
|
+
<option name="LAST_COMMIT_MESSAGE" value="add github templates for issues and pull requests" />
|
|
249
|
+
</component>
|
|
250
|
+
<component name="WindowStateProjectService">
|
|
251
|
+
<state x="100" y="123" width="1480" height="749" key="DiffContextDialog" timestamp="1589705844424">
|
|
252
|
+
<screen x="0" y="23" width="1680" height="949" />
|
|
253
|
+
</state>
|
|
254
|
+
<state x="100" y="123" width="1480" height="749" key="DiffContextDialog/0.23.1680.949@0.23.1680.949" timestamp="1589705844424" />
|
|
255
|
+
<state width="1659" height="248" key="GridCell.Tab.0.bottom" timestamp="1592572785683">
|
|
256
|
+
<screen x="0" y="23" width="1680" height="947" />
|
|
257
|
+
</state>
|
|
258
|
+
<state width="1659" height="248" key="GridCell.Tab.0.bottom/0.23.1680.947@0.23.1680.947" timestamp="1592572785683" />
|
|
259
|
+
<state width="1659" height="249" key="GridCell.Tab.0.bottom/0.23.1680.949@0.23.1680.949" timestamp="1589618139292" />
|
|
260
|
+
<state width="1659" height="248" key="GridCell.Tab.0.center" timestamp="1592572785598">
|
|
261
|
+
<screen x="0" y="23" width="1680" height="947" />
|
|
262
|
+
</state>
|
|
263
|
+
<state width="1659" height="248" key="GridCell.Tab.0.center/0.23.1680.947@0.23.1680.947" timestamp="1592572785598" />
|
|
264
|
+
<state width="1659" height="249" key="GridCell.Tab.0.center/0.23.1680.949@0.23.1680.949" timestamp="1589618139291" />
|
|
265
|
+
<state width="1659" height="248" key="GridCell.Tab.0.left" timestamp="1592572785598">
|
|
266
|
+
<screen x="0" y="23" width="1680" height="947" />
|
|
267
|
+
</state>
|
|
268
|
+
<state width="1659" height="248" key="GridCell.Tab.0.left/0.23.1680.947@0.23.1680.947" timestamp="1592572785598" />
|
|
269
|
+
<state width="1659" height="249" key="GridCell.Tab.0.left/0.23.1680.949@0.23.1680.949" timestamp="1589618139290" />
|
|
270
|
+
<state width="1659" height="248" key="GridCell.Tab.0.right" timestamp="1592572785664">
|
|
271
|
+
<screen x="0" y="23" width="1680" height="947" />
|
|
272
|
+
</state>
|
|
273
|
+
<state width="1659" height="248" key="GridCell.Tab.0.right/0.23.1680.947@0.23.1680.947" timestamp="1592572785664" />
|
|
274
|
+
<state width="1659" height="249" key="GridCell.Tab.0.right/0.23.1680.949@0.23.1680.949" timestamp="1589618139291" />
|
|
275
|
+
<state x="628" y="123" key="RollbackChangesDialog" timestamp="1589706982392">
|
|
276
|
+
<screen x="0" y="23" width="1680" height="949" />
|
|
277
|
+
</state>
|
|
278
|
+
<state x="628" y="123" key="RollbackChangesDialog/0.23.1680.949@0.23.1680.949" timestamp="1589706982392" />
|
|
279
|
+
<state x="440" y="219" key="Vcs.Push.Dialog.v2" timestamp="1592572777997">
|
|
280
|
+
<screen x="0" y="23" width="1680" height="947" />
|
|
281
|
+
</state>
|
|
282
|
+
<state x="440" y="219" key="Vcs.Push.Dialog.v2/0.23.1680.947@0.23.1680.947" timestamp="1592572777997" />
|
|
283
|
+
<state x="440" y="219" key="Vcs.Push.Dialog.v2/0.23.1680.949@0.23.1680.949" timestamp="1589733457578" />
|
|
284
|
+
<state x="542" y="236" width="596" height="522" key="find.popup" timestamp="1589617910285">
|
|
285
|
+
<screen x="0" y="23" width="1680" height="949" />
|
|
286
|
+
</state>
|
|
287
|
+
<state x="542" y="236" width="596" height="522" key="find.popup/0.23.1680.949@0.23.1680.949" timestamp="1589617910285" />
|
|
288
|
+
<state x="616" y="283" key="git4idea.merge.GitMergeDialog" timestamp="1592572768579">
|
|
289
|
+
<screen x="0" y="23" width="1680" height="947" />
|
|
290
|
+
</state>
|
|
291
|
+
<state x="616" y="283" key="git4idea.merge.GitMergeDialog/0.23.1680.947@0.23.1680.947" timestamp="1592572768579" />
|
|
292
|
+
</component>
|
|
293
|
+
</project>
|
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://circleci.com/gh/thymikee/jest-preset-angular)
|
|
4
4
|
[](https://www.npmjs.com/package/jest-preset-angular) [](https://greenkeeper.io/)
|
|
5
|
+

|
|
5
6
|
|
|
6
7
|
A preset of [Jest](http://facebook.github.io/jest) configuration for [Angular](https://angular.io/) projects.
|
|
7
8
|
|
|
@@ -479,9 +480,10 @@ Reference: https://github.com/facebook/jest/issues/708
|
|
|
479
480
|
|
|
480
481
|
### Configure other JSDOM versions
|
|
481
482
|
|
|
482
|
-
**Jest**
|
|
483
|
+
**Jest** v26 by default uses **JSDOM** 16 to support Node 10+.
|
|
483
484
|
|
|
484
|
-
If you need a
|
|
485
|
+
If you need a different JSDOM version than the one that ships with Jest, you can install a jsdom environment
|
|
486
|
+
package, e.g. `jest-environment-jsdom-sixteen` and edit your Jest config like so:
|
|
485
487
|
|
|
486
488
|
```
|
|
487
489
|
{
|
|
@@ -491,4 +493,4 @@ If you need a newer JSDOM than the one that ships with Jest and run Node >=10, y
|
|
|
491
493
|
|
|
492
494
|
If you use JSDOM v11 or lower, you might have to mock `localStorage` or `sessionStorage` on your own or using some third-party library by loading it in `setupFilesAfterEnv`.
|
|
493
495
|
|
|
494
|
-
Reference: https://jestjs.io/docs/en/configuration.html#testenvironment-string, https://github.com/jsdom/jsdom/blob/master/Changelog.md#1200
|
|
496
|
+
Reference: https://jestjs.io/docs/en/configuration.html#testenvironment-string, https://github.com/jsdom/jsdom/blob/master/Changelog.md#1200
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jest-preset-angular",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.1",
|
|
4
4
|
"description": "Jest preset configuration for Angular projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "git@github.com:thymikee/jest-preset-angular.git",
|
|
@@ -8,19 +8,19 @@
|
|
|
8
8
|
"author": "Michał Pierzchała <thymikee@gmail.com>",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"pretty-format": "^
|
|
12
|
-
"ts-jest": "^
|
|
11
|
+
"pretty-format": "^26.0.0",
|
|
12
|
+
"ts-jest": "^26.0.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/jest": "^
|
|
16
|
-
"@types/node": "^
|
|
17
|
-
"jest": "^
|
|
18
|
-
"typescript": "
|
|
15
|
+
"@types/jest": "^26.0.0",
|
|
16
|
+
"@types/node": "^14.0.4",
|
|
17
|
+
"jest": "^26.0.1",
|
|
18
|
+
"typescript": "~3.8.3"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/core": ">=2.0.0",
|
|
22
22
|
"@angular/platform-browser-dynamic": ">=2.0.0",
|
|
23
|
-
"jest": "^
|
|
23
|
+
"jest": "^26.0.0"
|
|
24
24
|
},
|
|
25
25
|
"jest": {
|
|
26
26
|
"preset": "ts-jest",
|