build: fix eslint issues (#124)

* build: fix eslint issues

* build: migrate to Node 16
This commit is contained in:
Yaroslav Serhieiev
2022-04-12 07:36:59 +03:00
committed by GitHub
parent 531a952df3
commit 96ad8afe1d
14 changed files with 14375 additions and 12906 deletions
+1 -1
View File
@@ -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