File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 13
13
14
14
### Chore & Maintenance
15
15
16
+ - ` [expect] ` Export default matchers ([ #11932 ] ( https://github.com/facebook/jest/pull/11932 ) )
17
+
16
18
### Performance
17
19
18
20
## 27.2.4
Original file line number Diff line number Diff line change 12
12
"exports" : {
13
13
"." : " ./build/index.js" ,
14
14
"./package.json" : " ./package.json" ,
15
- "./build/utils" : " ./build/utils.js"
15
+ "./build/utils" : " ./build/utils.js" ,
16
+ "./build/matchers" : " ./build/matchers.js"
16
17
},
17
18
"dependencies" : {
18
19
"@jest/types" : " ^27.2.4" ,
Original file line number Diff line number Diff line change @@ -52,7 +52,12 @@ module.exports.getPackages = function getPackages() {
52
52
{ } ,
53
53
) ,
54
54
...( pkg . name === 'jest-circus' ? { './runner' : './runner.js' } : { } ) ,
55
- ...( pkg . name === 'expect' ? { './build/utils' : './build/utils.js' } : { } ) ,
55
+ ...( pkg . name === 'expect'
56
+ ? {
57
+ './build/matchers' : './build/matchers.js' ,
58
+ './build/utils' : './build/utils.js' ,
59
+ }
60
+ : { } ) ,
56
61
} ,
57
62
`Package ${ pkg . name } does not export correct files` ,
58
63
) ;
You can’t perform that action at this time.
0 commit comments