Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mahozad committed Nov 22, 2023
1 parent daf2145 commit 75af3e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -49,6 +49,7 @@
]
],
"preset": "jest-puppeteer",
"testEnvironment": "jsdom",
"testEnvironmentOptions": {
"url": "http://localhost/"
}
Expand Down
10 changes: 0 additions & 10 deletions test/main.test.js
@@ -1,13 +1,3 @@
/**
* This docblock is required to configure jest environment to jsdom.
* See https://jestjs.io/docs/configuration#testenvironment-string
*
* Another way would be to manually setting up jsdom.
* See testing-with-jsdom git branch that does it that way.
*
* @jest-environment jsdom
*/

const puppeteer = require("puppeteer-core");
const fileSystem = require("fs");
// See https://stackoverflow.com/a/48952855/8583692
Expand Down

0 comments on commit 75af3e9

Please sign in to comment.