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