Skip to content

Commit

Permalink
chore: drop support node-v0
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed May 13, 2016
1 parent 47cd240 commit 9de6db0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ language: node_js
before_install:
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
node_js:
- '0'
- 4
- 5
- 6
Expand Down
4 changes: 0 additions & 4 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ describe('babel-plugin-add-module-exports', () => {
// assert module root (module.exports) object
equal(module, testCase.expected.module)

if (typeof testCase.expected.exports !== 'object') {
return // avoid "Object.keys called on non-object" in node-v0
}

// assert each common entry is exported without error
Object.keys(testCase.expected.exports).forEach((key) =>
equal(module[key], testCase.expected.exports[key]))
Expand Down

0 comments on commit 9de6db0

Please sign in to comment.