fix(test): add missing test for making sure chrome is closed (#2109)

This commit is contained in:
JoelEinbinder
2018-03-06 22:01:43 -08:00
committed by Andrey Lushnikov
parent 44d8000de1
commit 0defecf197
2 changed files with 26 additions and 0 deletions

5
test/fixtures/closeme.js vendored Normal file
View File

@@ -0,0 +1,5 @@
(async() => {
const [, , puppeteerRoot, options] = process.argv;
const browser = await require(puppeteerRoot).launch(JSON.parse(options));
console.log(browser.wsEndpoint());
})();