Skip to content

Commit 1832bb9

Browse files
committed
Make test pass no matter which Node version is used.
1 parent b697110 commit 1832bb9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/__tests__/createModuleProvider.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ describe('createModuleProvider', () => {
7676
'anotherExtension/src/lib/dataElements/path.js'
7777
);
7878
}).toThrowError(
79-
new Error(
80-
'Failed to access module "anotherExtension/src/lib/dataElements/path.js". ' +
81-
"Cannot read property 'script' of undefined"
82-
)
79+
/Failed to access module "anotherExtension\/src\/lib\/dataElements\/path\.js"/
8380
);
8481
});
8582

0 commit comments

Comments
 (0)