diff --git a/test/unit.js b/test/unit.js index 81e3d6c..279795a 100644 --- a/test/unit.js +++ b/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()); +});