Skip to content

Commit

Permalink
fix: Resolve module paths in preset (#335)
Browse files Browse the repository at this point in the history
Co-authored-by: James Diefenderfer <[email protected]>
Co-authored-by: Tony Brix <[email protected]>
  • Loading branch information
3 people authored Apr 16, 2021
1 parent e54fb7e commit 36602a1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 6 additions & 0 deletions packages/jest-puppeteer-preset/jest-preset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
globalSetup: require.resolve("jest-environment-puppeteer/setup"),
globalTeardown: require.resolve("jest-environment-puppeteer/teardown"),
testEnvironment: require.resolve("jest-environment-puppeteer"),
setupFilesAfterEnv: [require.resolve("expect-puppeteer")]
}
6 changes: 0 additions & 6 deletions packages/jest-puppeteer-preset/jest-preset.json

This file was deleted.

6 changes: 6 additions & 0 deletions packages/jest-puppeteer/jest-preset.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
globalSetup: require.resolve("jest-environment-puppeteer/setup"),
globalTeardown: require.resolve("jest-environment-puppeteer/teardown"),
testEnvironment: require.resolve("jest-environment-puppeteer"),
setupFilesAfterEnv: [require.resolve("expect-puppeteer")]
}
6 changes: 0 additions & 6 deletions packages/jest-puppeteer/jest-preset.json

This file was deleted.

0 comments on commit 36602a1

Please sign in to comment.