Skip to content

Commit 9de6db0

Browse files
committed
chore: drop support node-v0
see: https://github.com/nodejs/LTS#lts_schedule
1 parent 47cd240 commit 9de6db0

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ language: node_js
1111
before_install:
1212
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
1313
node_js:
14-
- '0'
1514
- 4
1615
- 5
1716
- 6

test/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ describe('babel-plugin-add-module-exports', () => {
5454
// assert module root (module.exports) object
5555
equal(module, testCase.expected.module)
5656

57-
if (typeof testCase.expected.exports !== 'object') {
58-
return // avoid "Object.keys called on non-object" in node-v0
59-
}
60-
6157
// assert each common entry is exported without error
6258
Object.keys(testCase.expected.exports).forEach((key) =>
6359
equal(module[key], testCase.expected.exports[key]))

0 commit comments

Comments
 (0)