This repository has been archived by the owner on Mar 21, 2023. It is now read-only.
forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes jestjs#13707
- Loading branch information
Showing
13 changed files
with
110 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
10 changes: 10 additions & 0 deletions
10
packages/jest-resolve/src/__mocks__/imports/array-import/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "array-import", | ||
"imports": { | ||
"#nested": { | ||
"import": ["./node.mjs", "./node-2.mjs"], | ||
"browser": ["./not-exist.cjs", "./browser.cjs"], | ||
"require": ["not-exist-package", "./node.cjs"] | ||
} | ||
} | ||
} |
Empty file.
Empty file.
Empty file.
12 changes: 12 additions & 0 deletions
12
packages/jest-resolve/src/__mocks__/imports/nested-import/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "nested-import", | ||
"imports": { | ||
"#nested": { | ||
"node": { | ||
"import": "./node.mjs", | ||
"require": "./node.cjs" | ||
}, | ||
"default": "./browser.cjs" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters