Skip to content

Commit

Permalink
Added Node 10. (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina authored May 29, 2018
1 parent 397795e commit 309ca25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node_js:
- '7'
- '8'
- '9'
- '10'
script:
- npm run ci
env:
Expand Down
14 changes: 7 additions & 7 deletions test/browser.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ if (process.title !== 'browser') {
delete global.console
var instance = fresh('../browser', require)()
global.console = console
t.is(fnName(instance.log), 'noop')
t.is(fnName(instance.fatal), 'noop')
t.is(fnName(instance.error), 'noop')
t.is(fnName(instance.warn), 'noop')
t.is(fnName(instance.info), 'noop')
t.is(fnName(instance.debug), 'noop')
t.is(fnName(instance.trace), 'noop')
t.ok(fnName(instance.log).match(/noop/))
t.ok(fnName(instance.fatal).match(/noop/))
t.ok(fnName(instance.error).match(/noop/))
t.ok(fnName(instance.warn).match(/noop/))
t.ok(fnName(instance.info).match(/noop/))
t.ok(fnName(instance.debug).match(/noop/))
t.ok(fnName(instance.trace).match(/noop/))
t.end()
})
}
Expand Down

0 comments on commit 309ca25

Please sign in to comment.