Browse Source

Test Onionoo instance is an object

pull/14/head
Luke Childs 8 years ago
parent
commit
76dd478420
  1. 4
      test/unit.js

4
test/unit.js

@ -9,3 +9,7 @@ test('Onionoo cannot be invoked without \'new\'', t => {
t.throws(() => Onionoo())
t.notThrows(() => new Onionoo())
})
test('Onionoo instance is an object', t => {
t.is(typeof new Onionoo(), 'object')
})

Loading…
Cancel
Save