build: fix eslint issues (#124)
* build: fix eslint issues * build: migrate to Node 16
This commit is contained in:
committed by
GitHub
parent
531a952df3
commit
96ad8afe1d
@@ -13,7 +13,7 @@ const StealthPlugin = require('puppeteer-extra-plugin-stealth');
|
||||
const DIR = path.join(os.tmpdir(), 'jest_puppeteer_global_setup');
|
||||
const jestPuppeteerConfig = require('./jest-puppeteer.config');
|
||||
|
||||
module.exports = async function() {
|
||||
module.exports = async function globalSetup() {
|
||||
puppeteer.use(StealthPlugin());
|
||||
const browser = await puppeteer.launch(jestPuppeteerConfig.launch);
|
||||
// store the browser instance so we can teardown it later
|
||||
|
||||
Reference in New Issue
Block a user