Skip to content

Commit

Permalink
feat(expect): Expose spyMatchers
Browse files Browse the repository at this point in the history
  • Loading branch information
ronyhe committed Sep 1, 2024
1 parent bd1c6db commit 84c6581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
},
"./package.json": "./package.json",
"./build/matchers": "./build/matchers.js",
"./build/toThrowMatchers": "./build/toThrowMatchers.js"
"./build/toThrowMatchers": "./build/toThrowMatchers.js",
"./build/spyMatchers": "./build/spyMatchers.js"
},
"dependencies": {
"@jest/expect-utils": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions scripts/buildUtils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function getPackages() {
? {
'./build/matchers': './build/matchers.js',
'./build/toThrowMatchers': './build/toThrowMatchers.js',
'./build/spyMatchers': './build/spyMatchers.js',

Check failure on line 95 in scripts/buildUtils.mjs

View workflow job for this annotation

GitHub Actions / Lint

Expected object keys to be in ascending order. './build/spyMatchers' should be before './build/toThrowMatchers'
}
: {}),
},
Expand Down

0 comments on commit 84c6581

Please sign in to comment.