Skip to content

Commit

Permalink
Add missing export statement
Browse files Browse the repository at this point in the history
Add missing export statement in puppeteer_environment.js
Add Semicolon

Update CHANGELOG.md
  • Loading branch information
Qiu Haoze committed Oct 10, 2018
1 parent a168b34 commit 14271dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
- `[docs]` Correct `failure-change` notification mode ([#6878](https://github.com/facebook/jest/pull/6878))
- `[scripts]` Don’t remove node_modules from subdirectories of presets in e2e tests ([#6948](https://github.com/facebook/jest/pull/6948))
- `[diff-sequences]` Double-check number of differences in tests ([#6953](https://github.com/facebook/jest/pull/6953))
- `[docs]` Add missing export statement in `puppeteer_environment.js` under `docs/Puppeteer.md` ([#7127](https://github.com/facebook/jest/pull/7127))

## 23.5.0

Expand Down
2 changes: 2 additions & 0 deletions docs/Puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class PuppeteerEnvironment extends NodeEnvironment {
return super.runScript(script);
}
}

module.exports = PuppeteerEnvironment;
```

Finally we can close the puppeteer instance and clean-up the file
Expand Down

0 comments on commit 14271dc

Please sign in to comment.