Browse Source

Test not passing an array throws error

master
Luke Childs 6 years ago
parent
commit
475563e032
  1. 4
      test/unit.js

4
test/unit.js

@ -37,3 +37,7 @@ test('Unsafe integer value throws error', t => {
t.throws(() => buildOutputScript([['1LukeQU5jwebXbMLDVydeH4vFSobRV9rkj', (MAX_SAFE_INTEGER + 1)]]));
});
test('Not passing an array throws error', t => {
t.throws(() => buildOutputScript());
});

Loading…
Cancel
Save