diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2b1018c12..d8415b486 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x] + node-version: [12.x, 14.x, 16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/package.json b/package.json index c4bda8fe7..8c656a435 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "format:code": "prettier --write \"(src|demo)/**/*.(vue|js)\"", "format:md": "prettier --write --parser markdown --prose-wrap never \"(src|demo)/**/*.md\"", "test": "cross-env NODE_ENV=test jest --collectCoverage=false", - "test:cov": "cross-env NODE_ENV=test jest", + "test:cov": "cross-env NODE_ENV=test NODE_OPTIONS=--unhandled-rejections=warn jest", "test:watch": "cross-env NODE_ENV=test jest ---watch --verbose --coverage", "gen-version": "node scripts/gen-version", "release-changelog": "node scripts/release-changelog",