Skip to content

Commit 9b19dcf

Browse files
committed
test: target esnext for tests
1 parent d3ebd5f commit 9b19dcf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/jestPerTestSetup.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ beforeAll(async () => {
5555
usePolling: true,
5656
interval: 100
5757
}
58+
},
59+
build: {
60+
// skip transpilation and dynamic import polyfills during tests to
61+
// make it faster
62+
target: 'esnext'
5863
}
5964
}
6065

0 commit comments

Comments
 (0)