-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
158 additions
and
54 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'use strict'; | ||
|
||
const { | ||
TestEnvironment: JSDOMTestEnvironment, | ||
} = require('jest-environment-jsdom'); | ||
|
||
module.exports = class AngularEnv extends JSDOMTestEnvironment { | ||
exportConditions() { | ||
// we need to include `node` as `rxjs` defines `node`, `es2015`, `default`, not `browser` or `require` | ||
// https://github.com/ReactiveX/rxjs/pull/6821 | ||
return super.exportConditions().concat('node'); | ||
} | ||
}; |
File renamed without changes.
File renamed without changes.
Empty file.
Empty file.
Empty file.
Empty file.
16 changes: 16 additions & 0 deletions
16
packages/jest-resolve/src/__mocks__/conditions/node_modules/exports/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
6 changes: 0 additions & 6 deletions
6
packages/jest-resolve/src/__mocks__/conditions/node_modules/import/package.json
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/jest-resolve/src/__mocks__/conditions/node_modules/require/package.json
This file was deleted.
Oops, something went wrong.
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
6 changes: 6 additions & 0 deletions
6
packages/jest-runtime/src/__tests__/NODE_PATH_dir/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,6 @@ | ||
{ | ||
"name": "NODE_PATH_dir", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
} | ||
} |
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,6 @@ | ||
{ | ||
"name": "test_root", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
} | ||
} |
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