Skip to content

Commit

Permalink
fix: point to correctly exported files in jest-repl
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 6, 2022
1 parent dd29978 commit f5a9bb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,7 @@
### Fixes

- `[expect]` Add type definitions for asymmetric `closeTo` matcher ([#12304](https://github.com/facebook/jest/pull/12304))
- `[jest-repl]` Make module importable ([#12311](https://github.com/facebook/jest/pull/12311))

### Chore & Maintenance

Expand Down
8 changes: 4 additions & 4 deletions packages/jest-repl/package.json
Expand Up @@ -7,12 +7,12 @@
"directory": "packages/jest-repl"
},
"license": "MIT",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"main": "./build/cli/index.js",
"types": "./build/cli/index.d.ts",
"exports": {
".": {
"types": "./build/index.d.ts",
"default": "./build/index.js"
"types": "./build/cli/index.d.ts",
"default": "./build/cli/index.js"
},
"./package.json": "./package.json",
"./bin/jest-repl": "./bin/jest-repl.js",
Expand Down

0 comments on commit f5a9bb7

Please sign in to comment.