Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
add testing node 14. remove testing node 8
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed Apr 26, 2020
1 parent 5cfe31a commit 78a7365
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"lint": "eslint-klopov . || true",
"prepare": "npm run babel",
"prepublishOnly": "eslint-klopov . && npm run test:no-npm",
"test": "eslint-klopov . && npm run babel && node test/test.js node12 no-npm && node test/test.js node10 no-npm && node test/test.js node8 no-npm && node test/test.js host only-npm",
"test": "eslint-klopov . && npm run babel && node test/test.js node14 no-npm && node test/test.js node12 no-npm && node test/test.js node10 no-npm && node test/test.js host only-npm",
"test:no-npm": "node test/test.js host no-npm"
},
"eslintConfig": {
Expand Down
4 changes: 3 additions & 1 deletion test/test-50-fs-runtime-layer-2/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ function bitty (version) {
(4 * (/^(node|v)?9/.test(version))) |
(8 * (/^(node|v)?10/.test(version))) |
(8 * (/^(node|v)?11/.test(version))) |
(16 * (/^(node|v)?12/.test(version)));
(16 * (/^(node|v)?12/.test(version))) |
(16 * (/^(node|v)?13/.test(version))) |
(16 * (/^(node|v)?14/.test(version)));
}

const version1 = process.version;
Expand Down
4 changes: 3 additions & 1 deletion test/test-50-path-as-buffer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ function bitty (version) {
(4 * (/^(node|v)?9/.test(version))) |
(4 * (/^(node|v)?10/.test(version))) |
(4 * (/^(node|v)?11/.test(version))) |
(4 * (/^(node|v)?12/.test(version))); // 4 = has URL
(4 * (/^(node|v)?12/.test(version))) |
(4 * (/^(node|v)?13/.test(version))) |
(4 * (/^(node|v)?14/.test(version))); // 4 = has URL
}

const version1 = process.version;
Expand Down
3 changes: 2 additions & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ if (process.env.CI) {
target === 'node6' ||
target === 'node7' ||
target === 'node9' ||
target === 'node11') {
target === 'node11' ||
target === 'node13') {
console.log(target + ' is skipped in CI!');
console.log('');
process.exit();
Expand Down

0 comments on commit 78a7365

Please sign in to comment.