Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 9, 2022
1 parent 477b3aa commit 95c7782
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/__tests__/testEnvironment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ it('handles missing `mocked` property', () => {
'env.js': `
const Node = require('${slash(
require.resolve('jest-environment-node'),
)}');
)}').default;
module.exports = class Thing extends Node {
constructor(...args) {
Expand Down
4 changes: 2 additions & 2 deletions e2e/test-environment-esm/EnvESM.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* LICENSE file in the root directory of this source tree.
*/

import NodeEnvironment from 'jest-environment-node';
import {TestEnvironment} from 'jest-environment-node';

export default class Env extends NodeEnvironment {
export default class Env extends TestEnvironment {
constructor(...args) {
super(...args);
this.global.someVar = 42;
Expand Down

0 comments on commit 95c7782

Please sign in to comment.