File tree Expand file tree Collapse file tree 4 files changed +19
-7
lines changed Expand file tree Collapse file tree 4 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -21,3 +21,7 @@ updates:
21
21
typescript-types :
22
22
patterns :
23
23
- ' @types/*'
24
+ vitest :
25
+ patterns :
26
+ - ' vitest'
27
+ - ' @vitest/*'
Original file line number Diff line number Diff line change 11
11
"@babel/preset-react" : " ^7.0.0" ,
12
12
"@babel/preset-typescript" : " ^7.18.6" ,
13
13
"@hypothesis/frontend-build" : " ^3.2.1" ,
14
- "@hypothesis/frontend-testing" : " ^1.4 .0" ,
14
+ "@hypothesis/frontend-testing" : " ^1.6 .0" ,
15
15
"@rollup/plugin-babel" : " ^6.0.0" ,
16
16
"@rollup/plugin-commonjs" : " ^28.0.0" ,
17
17
"@rollup/plugin-dynamic-import-vars" : " ^2.1.2" ,
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 ,
8
12
headless : true ,
9
13
screenshotFailures : false ,
10
14
instances : [ { browser : 'chromium' } ] ,
11
15
} ,
12
- globals : true ,
13
16
14
17
// CSS bundle relied upon by accessibility tests (eg. for color-contrast
15
18
// checks).
Original file line number Diff line number Diff line change @@ -1609,7 +1609,7 @@ __metadata:
1609
1609
" @babel/preset-react " : ^7.0.0
1610
1610
" @babel/preset-typescript " : ^7.18.6
1611
1611
" @hypothesis/frontend-build " : ^3.2.1
1612
- " @hypothesis/frontend-testing " : ^1.4 .0
1612
+ " @hypothesis/frontend-testing " : ^1.6 .0
1613
1613
" @rollup/plugin-babel " : ^6.0.0
1614
1614
" @rollup/plugin-commonjs " : ^28.0.0
1615
1615
" @rollup/plugin-dynamic-import-vars " : ^2.1.2
@@ -1660,14 +1660,19 @@ __metadata:
1660
1660
languageName : unknown
1661
1661
linkType : soft
1662
1662
1663
- " @hypothesis/frontend-testing@npm:^1.4 .0 " :
1664
- version : 1.5 .0
1665
- resolution : " @hypothesis/frontend-testing@npm:1.5 .0"
1663
+ " @hypothesis/frontend-testing@npm:^1.6 .0 " :
1664
+ version : 1.6 .0
1665
+ resolution : " @hypothesis/frontend-testing@npm:1.6 .0"
1666
1666
dependencies :
1667
1667
axe-core : ^4.8.2
1668
1668
enzyme : ^3.11.0
1669
1669
preact : ^10.18.1
1670
- checksum : 26cbebeb23acb5fb6d29d26178d3b8dd617dcb948f7596aefdacac3fdf62c7ac02d78f5ec634b0bed5b63e001ad5bb26989df732b0caf971f2b0671620821fde
1670
+ peerDependencies :
1671
+ vitest : ^3.1.2
1672
+ peerDependenciesMeta :
1673
+ vitest :
1674
+ optional : true
1675
+ checksum : 1ac5404bc658bbf1c71548d39e4703ac65ec822794f0a654122b7c98767f3f5830449466ee4c46695a44bd03a65b35108dddc3d8d7b177eb738b11a34c4f38e7
1671
1676
languageName : node
1672
1677
linkType : hard
1673
1678
You can’t perform that action at this time.
0 commit comments