diff --git a/src/outputs.test.js b/src/outputs.test.js index 5b6bea0..480fe17 100644 --- a/src/outputs.test.js +++ b/src/outputs.test.js @@ -91,7 +91,7 @@ describe("outputs", () => { it("should return an error message when the output is too small", () => { expect(validateOutputAmount(100)).toMatch(/output amount is too small/i); - expect(validateOutputAmount(800, 10000, 1000)).toMatch( + expect(validateOutputAmount(800, undefined, 1000)).toMatch( /output amount is too small/i ); }); @@ -132,6 +132,9 @@ describe("outputs", () => { expect(validateOutputAmount(100, 100000)).toMatch( /output amount is too small/i ); + expect(validateOutputAmount(800, 100000, 1000)).toMatch( + /output amount is too small/i + ); }); it("should return an error message for an unparseable total input amount", () => {