jest-environment-puppeteer
Advanced tools
Comparing version 3.5.2 to 3.6.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [3.6.0](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-environment-puppeteer/compare/v3.5.2...v3.6.0) (2018-12-06) | ||
### Bug Fixes | ||
* skip closing external browser on teardown ([0505b2c](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-environment-puppeteer/commit/0505b2c)) | ||
* use browser.disconnect method ([7afbb2e](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-environment-puppeteer/commit/7afbb2e)) | ||
## [3.5.2](https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-environment-puppeteer/compare/v3.5.1...v3.5.2) (2018-11-27) | ||
@@ -8,0 +20,0 @@ |
@@ -56,3 +56,9 @@ "use strict"; | ||
await (0, _jestDevServer.teardown)(); | ||
await browser.close(); | ||
const config = await (0, _readConfig.default)(); | ||
if (config.connect) { | ||
await browser.disconnect(); | ||
} else { | ||
await browser.close(); | ||
} | ||
} |
{ | ||
"name": "jest-environment-puppeteer", | ||
"description": "Puppeteer environment for Jest.", | ||
"version": "3.5.2", | ||
"version": "3.6.0", | ||
"main": "index.js", | ||
@@ -29,6 +29,6 @@ "repository": "https://github.com/smooth-code/jest-puppeteer/tree/master/packages/jest-environment-puppeteer", | ||
"cwd": "^0.10.0", | ||
"jest-dev-server": "^3.5.2", | ||
"jest-dev-server": "^3.6.0", | ||
"merge-deep": "^3.0.2" | ||
}, | ||
"gitHead": "3c77d2603c864a43647cd6ed7d40a6f133d116b4" | ||
"gitHead": "746430b680506d41181cc5890b84c081e65d650b" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24288
189
Updatedjest-dev-server@^3.6.0