Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add default exportConditions for both jsdom and node environments #11924

Merged
merged 10 commits into from
Feb 9, 2022
Prev Previous commit
Next Next commit
Use new jsdom and node environments in tests instead of custom ones
  • Loading branch information
piranna committed Feb 5, 2022
commit 5ff1892841642e52f8362d1c4bfaa8d4fbb8fa03
2 changes: 1 addition & 1 deletion e2e/resolve-conditions/__tests__/browser.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @jest-environment <rootDir>/browser-env.js
* @jest-environment jest-environment-jsdom
*/

import {fn} from 'fake-dual-dep';
Expand Down
2 changes: 1 addition & 1 deletion e2e/resolve-conditions/__tests__/node.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @jest-environment <rootDir>/node-env.js
* @jest-environment jest-environment-node
*/

import {fn} from 'fake-dual-dep';
Expand Down
16 changes: 0 additions & 16 deletions e2e/resolve-conditions/browser-env.js

This file was deleted.

16 changes: 0 additions & 16 deletions e2e/resolve-conditions/node-env.js

This file was deleted.