Skip to content

Commit 46a7ce9

Browse files
committed
fix: use jest's native esm api in e2e test
1 parent ef783ed commit 46a7ce9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e/run-programmatically/jest.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*/
7-
import jestModule from 'jest';
8-
const {createJest} = jestModule;
7+
import {createJest} from 'jest';
98

109
const jest = await createJest();
1110
jest.globalConfig = {

0 commit comments

Comments
 (0)