Upgrade @ffmpeg/core and fix test script

This commit is contained in:
Jerome Wu
2020-11-03 17:42:38 +08:00
parent d19990d0b5
commit 53900ad60b
2 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
"lint": "eslint src",
"wait": "rimraf dist && wait-on http://localhost:3000/dist/ffmpeg.dev.js",
"test": "npm-run-all -p -r start test:all",
"test:all": "npm-run-all wait test:node:all",
"test:all": "npm-run-all wait test:browser:ffmpeg test:node:all",
"test:node": "node --experimental-wasm-threads --experimental-wasm-bulk-memory node_modules/.bin/_mocha --exit --bail --require ./scripts/test-helper.js",
"test:node:all": "npm run test:node -- ./tests/*.test.js",
"test:browser": "mocha-headless-chrome -a allow-file-access-from-files -a incognito -a no-sandbox -a disable-setuid-sandbox -a disable-logging -t 300000",
@@ -49,7 +49,7 @@
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@ffmpeg/core": "^0.8.0",
"@ffmpeg/core": "^0.8.2",
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"cors": "^2.8.5",