Skip to content

Commit

Permalink
test: target esnext for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 8, 2021
1 parent d3ebd5f commit 9b19dcf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/jestPerTestSetup.ts
Expand Up @@ -55,6 +55,11 @@ beforeAll(async () => {
usePolling: true,
interval: 100
}
},
build: {
// skip transpilation and dynamic import polyfills during tests to
// make it faster
target: 'esnext'
}
}

Expand Down

0 comments on commit 9b19dcf

Please sign in to comment.