Skip to content

Commit

Permalink
custom puppeteer environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Onno van der Zee committed Jun 28, 2019
1 parent 6c1bca3 commit 186264c
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 474 deletions.
7 changes: 0 additions & 7 deletions jest-puppeteer.config.js

This file was deleted.

7 changes: 6 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,17 @@ module.exports = {
"<rootDir>/test"
],

"preset": "jest-puppeteer",
"globalSetup": "<rootDir>test/_globalSetup.js",

"globalTeardown": "<rootDir>test/_globalTeardown.js",


"setupFiles": [
"<rootDir>/test/_setupFiles.js"
],

"testEnvironment": "<rootDir>test/_puppeteer_env.js",

"transformIgnorePatterns": [
"node_modules/(?!(document-staging)/)",
],
Expand Down

0 comments on commit 186264c

Please sign in to comment.