Explorar el Código

chore: upgrade jest-puppeteer and remove some puppeteer config

xiaoyuhen hace 7 años
padre
commit
fe94317e41
Se han modificado 2 ficheros con 1 adiciones y 3 borrados
  1. 0 2
      jest-puppeteer.config.js
  2. 1 1
      package.json

+ 0 - 2
jest-puppeteer.config.js

@@ -4,9 +4,7 @@ module.exports = {
     args: [
     args: [
       '--disable-gpu',
       '--disable-gpu',
       '--disable-dev-shm-usage',
       '--disable-dev-shm-usage',
-      '--disable-setuid-sandbox',
       '--no-first-run',
       '--no-first-run',
-      '--no-sandbox',
       '--no-zygote',
       '--no-zygote',
     ],
     ],
   },
   },

+ 1 - 1
package.json

@@ -82,7 +82,7 @@
     "eslint-plugin-react": "^7.11.1",
     "eslint-plugin-react": "^7.11.1",
     "gh-pages": "^2.0.1",
     "gh-pages": "^2.0.1",
     "husky": "^1.2.0",
     "husky": "^1.2.0",
-    "jest-puppeteer": "^3.5.1",
+    "jest-puppeteer": "^3.9.0",
     "less": "^3.9.0",
     "less": "^3.9.0",
     "lint-staged": "^8.1.0",
     "lint-staged": "^8.1.0",
     "merge-umi-mock-data": "^1.0.4",
     "merge-umi-mock-data": "^1.0.4",