Browse Source

Test passing an empty array throws error

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

4
test/unit.js

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

Loading…
Cancel
Save