File tree 3 files changed +15
-7
lines changed
3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 15
15
"@babel/preset-typescript" : " ^7.16.7" ,
16
16
"@hypothesis/frontend-build" : " ^3.2.1" ,
17
17
"@hypothesis/frontend-shared" : " ^9.2.1" ,
18
- "@hypothesis/frontend-testing" : " ^1.3.1 " ,
18
+ "@hypothesis/frontend-testing" : " ^1.6.0 " ,
19
19
"@npmcli/arborist" : " ^9.0.0" ,
20
20
"@octokit/rest" : " ^21.0.0" ,
21
21
"@rollup/plugin-babel" : " ^6.0.0" ,
Original file line number Diff line number Diff line change
1
+ import { SummaryReporter } from '@hypothesis/frontend-testing/vitest' ;
1
2
import { defineConfig } from 'vitest/config' ;
2
3
3
4
export default defineConfig ( {
4
5
test : {
6
+ globals : true ,
7
+ reporters : [ new SummaryReporter ( ) ] ,
8
+
5
9
browser : {
6
10
provider : 'playwright' ,
7
11
enabled : true ,
@@ -10,7 +14,6 @@ export default defineConfig({
10
14
instances : [ { browser : 'chromium' } ] ,
11
15
viewport : { width : 1024 , height : 768 } ,
12
16
} ,
13
- globals : true ,
14
17
15
18
// CSS bundles, relied upon by accessibility tests (eg. for color-contrast
16
19
// checks).
Original file line number Diff line number Diff line change @@ -2221,14 +2221,19 @@ __metadata:
2221
2221
languageName : node
2222
2222
linkType : hard
2223
2223
2224
- " @hypothesis/frontend-testing@npm:^1.3.1 " :
2225
- version : 1.5 .0
2226
- resolution : " @hypothesis/frontend-testing@npm:1.5 .0"
2224
+ " @hypothesis/frontend-testing@npm:^1.6.0 " :
2225
+ version : 1.6 .0
2226
+ resolution : " @hypothesis/frontend-testing@npm:1.6 .0"
2227
2227
dependencies :
2228
2228
axe-core : ^4.8.2
2229
2229
enzyme : ^3.11.0
2230
2230
preact : ^10.18.1
2231
- checksum : 26cbebeb23acb5fb6d29d26178d3b8dd617dcb948f7596aefdacac3fdf62c7ac02d78f5ec634b0bed5b63e001ad5bb26989df732b0caf971f2b0671620821fde
2231
+ peerDependencies :
2232
+ vitest : ^3.1.2
2233
+ peerDependenciesMeta :
2234
+ vitest :
2235
+ optional : true
2236
+ checksum : 1ac5404bc658bbf1c71548d39e4703ac65ec822794f0a654122b7c98767f3f5830449466ee4c46695a44bd03a65b35108dddc3d8d7b177eb738b11a34c4f38e7
2232
2237
languageName : node
2233
2238
linkType : hard
2234
2239
@@ -7503,7 +7508,7 @@ __metadata:
7503
7508
" @babel/preset-typescript " : ^7.16.7
7504
7509
" @hypothesis/frontend-build " : ^3.2.1
7505
7510
" @hypothesis/frontend-shared " : ^9.2.1
7506
- " @hypothesis/frontend-testing " : ^1.3.1
7511
+ " @hypothesis/frontend-testing " : ^1.6.0
7507
7512
" @npmcli/arborist " : ^9.0.0
7508
7513
" @octokit/rest " : ^21.0.0
7509
7514
" @rollup/plugin-babel " : ^6.0.0
You can’t perform that action at this time.
0 commit comments