@web/test-runner-mocha 0.7.5 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web/test-runner-mocha",
3
- "version": "0.7.5",
3
+ "version": "0.8.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -15,11 +15,11 @@
15
15
  "homepage": "https://github.com/modernweb-dev/web/tree/master/packages/test-runner-mocha",
16
16
  "main": "dist/standalone.js",
17
17
  "engines": {
18
- "node": ">=12.0.0"
18
+ "node": ">=16.0.0"
19
19
  },
20
20
  "scripts": {
21
21
  "build": "tsc",
22
- "build:production": "rimraf dist && rollup -c rollup.config.js",
22
+ "build:production": "rimraf dist && rollup -c ./rollup.config.mjs",
23
23
  "test": "mocha test/**/*.test.js",
24
24
  "test:watch": "mocha test/**/*.test.js --watch --watch-files src,test"
25
25
  },
@@ -35,11 +35,11 @@
35
35
  "framework"
36
36
  ],
37
37
  "dependencies": {
38
- "@types/mocha": "^8.2.0",
39
- "@web/test-runner-core": "^0.10.20"
38
+ "@types/mocha": "^10.0.1",
39
+ "@web/test-runner-core": "^0.11.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "deepmerge": "^4.2.2",
43
- "mocha": "^8.2.1"
43
+ "mocha": "^10.2.0"
44
44
  }
45
45
  }
package/CHANGELOG.md DELETED
@@ -1,296 +0,0 @@
1
- # @web/test-runner-mocha
2
-
3
- ## 0.7.5
4
-
5
- ### Patch Changes
6
-
7
- - e6c7459e: Use full path to browser session file
8
-
9
- ## 0.7.4
10
-
11
- ### Patch Changes
12
-
13
- - 33ada3d8: Align @web/test-runner-core version
14
-
15
- ## 0.7.3
16
-
17
- ### Patch Changes
18
-
19
- - 773160f9: expose mocha runner
20
-
21
- ## 0.7.2
22
-
23
- ### Patch Changes
24
-
25
- - e3314b02: update dependency on core
26
-
27
- ## 0.7.1
28
-
29
- ### Patch Changes
30
-
31
- - 6a62b4ee: filter out internal stack traces
32
- - Updated dependencies [6a62b4ee]
33
- - @web/test-runner-core@0.10.7
34
-
35
- ## 0.7.0
36
-
37
- ### Minor Changes
38
-
39
- - a7d74fdc: drop support for node v10 and v11
40
- - 1dd7cd0e: version bump after breaking change in @web/test-runner-core
41
-
42
- ### Patch Changes
43
-
44
- - Updated dependencies [1dd7cd0e]
45
- - Updated dependencies [a7d74fdc]
46
- - @web/test-runner-core@0.10.0
47
-
48
- ## 0.6.0
49
-
50
- ### Minor Changes
51
-
52
- - 6e313c18: merged @web/test-runner-cli package into @web/test-runner
53
-
54
- ### Patch Changes
55
-
56
- - Updated dependencies [6e313c18]
57
- - Updated dependencies [0f613e0e]
58
- - @web/test-runner-core@0.9.0
59
-
60
- ## 0.5.1
61
-
62
- ### Patch Changes
63
-
64
- - aadf0fe: Speed up test loading by inling test config and preloading test files.
65
- - Updated dependencies [aadf0fe]
66
- - @web/test-runner-core@0.8.4
67
-
68
- ## 0.5.0
69
-
70
- ### Minor Changes
71
-
72
- - b397a4c: Disabled the in-browser reporter during regular test runs, improving performance.
73
-
74
- Defaulted to the spec reporter instead of the HTML reporter in the browser when debugging. This avoids manipulating the testing environment by default.
75
-
76
- You can opt back into the old behavior by setting the mocha config:
77
-
78
- ```js
79
- export default {
80
- testFramework: {
81
- config: { reporter: 'html' },
82
- },
83
- };
84
- ```
85
-
86
- ## 0.4.0
87
-
88
- ### Minor Changes
89
-
90
- - 80d5814: release new version of test-runner-mocha
91
-
92
- ### Patch Changes
93
-
94
- - Updated dependencies [80d5814]
95
- - @web/test-runner-mocha@0.4.0
96
-
97
- ## 0.3.7
98
-
99
- ### Patch Changes
100
-
101
- - f2d0bb2: avoid using document.baseURI in IE11
102
-
103
- ## 0.3.6
104
-
105
- ### Patch Changes
106
-
107
- - dbde3ba: track browser logs on all browser launchers
108
-
109
- ## 0.3.5
110
-
111
- ### Patch Changes
112
-
113
- - b1ff412: mocha should be a dev dependency
114
-
115
- ## 0.3.4
116
-
117
- ### Patch Changes
118
-
119
- - fe753a8: update to the latest core
120
-
121
- ## 0.3.3
122
-
123
- ### Patch Changes
124
-
125
- - dfef174: adds a custom reporter for HTML tests, avoiding errors when debugging
126
-
127
- ## 0.3.2
128
-
129
- ### Patch Changes
130
-
131
- - a137493: improve HTML tests setup
132
-
133
- ## 0.3.1
134
-
135
- ### Patch Changes
136
-
137
- - aa65fd1: run build before publishing
138
-
139
- ## 0.3.0
140
-
141
- ### Minor Changes
142
-
143
- - 9be1f95: Added native node es module entrypoints. This is a breaking change. Before, native node es module imports would import a CJS module as a default import and require destructuring afterwards:
144
-
145
- ```js
146
- import playwrightModule from '@web/test-runner-playwright';
147
-
148
- const { playwrightLauncher } = playwrightModule;
149
- ```
150
-
151
- Now, the exports are only available directly as a named export:
152
-
153
- ```js
154
- import { playwrightLauncher } from '@web/test-runner-playwright';
155
- ```
156
-
157
- - 3307aa8: update to mocha v8
158
-
159
- ## 0.2.15
160
-
161
- ### Patch Changes
162
-
163
- - 74cc129: implement commands API
164
-
165
- ## 0.2.14
166
-
167
- ### Patch Changes
168
-
169
- - cbdf3c7: chore: merge browser lib into test-runner-core
170
-
171
- ## 0.2.13
172
-
173
- ### Patch Changes
174
-
175
- - 1d975e3: improve repository build setup
176
- - Updated dependencies [1d975e3]
177
- - @web/test-runner-browser-lib@0.2.12
178
-
179
- ## 0.2.12
180
-
181
- ### Patch Changes
182
-
183
- - c6fb524: expose test suite hierarchy, passed tests and duration
184
- - Updated dependencies [c6fb524]
185
- - @web/test-runner-browser-lib@0.2.11
186
-
187
- ## 0.2.11
188
-
189
- ### Patch Changes
190
-
191
- - c64fbe6: improve testing with HTML
192
-
193
- ## 0.2.10
194
-
195
- ### Patch Changes
196
-
197
- - 837d5bc: only minify for production
198
- - Updated dependencies [837d5bc]
199
- - @web/test-runner-browser-lib@0.2.10
200
-
201
- ## 0.2.9
202
-
203
- ### Patch Changes
204
-
205
- - 5fada4a: improve logging and error reporting
206
- - Updated dependencies [5fada4a]
207
- - @web/test-runner-browser-lib@0.2.9
208
-
209
- ## 0.2.8
210
-
211
- ### Patch Changes
212
-
213
- - 27a91cc: allow configuring test framework options
214
- - Updated dependencies [27a91cc]
215
- - @web/test-runner-browser-lib@0.2.8
216
-
217
- ## 0.2.7
218
-
219
- ### Patch Changes
220
-
221
- - db5baff: cleanup and sort dependencies
222
-
223
- ## 0.2.6
224
-
225
- ### Patch Changes
226
-
227
- - d1c095a: bundle browser libs
228
- - Updated dependencies [d1c095a]
229
- - @web/test-runner-browser-lib@0.2.6
230
-
231
- ## 0.2.5
232
-
233
- ### Patch Changes
234
-
235
- - 14b7fae: handle errors in mocha hooks
236
- - Updated dependencies [14b7fae]
237
- - @web/test-runner-browser-lib@0.2.5
238
-
239
- ## 0.2.4
240
-
241
- ### Patch Changes
242
-
243
- - 1ed03f5: add mocha debug CSS from JS (for now)
244
-
245
- ## 0.2.3
246
-
247
- ### Patch Changes
248
-
249
- - 9d64995: handle mocking fetch
250
- - Updated dependencies [9d64995]
251
- - @web/test-runner-browser-lib@0.2.2
252
-
253
- ## 0.2.2
254
-
255
- ### Patch Changes
256
-
257
- - ea8d173: publish new files to NPM
258
-
259
- ## 0.2.1
260
-
261
- ### Patch Changes
262
-
263
- - 45a2f21: add ability to run HTML tests
264
- - Updated dependencies [45a2f21]
265
- - @web/test-runner-browser-lib@0.2.1
266
-
267
- ## 0.2.0
268
-
269
- ### Minor Changes
270
-
271
- - 1d277e9: rename framework to browser-lib
272
-
273
- ### Patch Changes
274
-
275
- - Updated dependencies [1d277e9]
276
- - @web/test-runner-browser-lib@0.2.0
277
-
278
- ## 0.1.2
279
-
280
- ### Patch Changes
281
-
282
- - ed7b8db: add assets to published files
283
-
284
- ## 0.1.1
285
-
286
- ### Patch Changes
287
-
288
- - 115442b: add readme, package tags and description
289
- - Updated dependencies [115442b]
290
- - @web/test-runner-browser-lib@0.1.1
291
-
292
- ## 0.1.0
293
-
294
- ### Minor Changes
295
-
296
- - 9c84a1b: first setup