From e60563fb540c04d9ba751fea69c1fc0f1de598b5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 22 Jul 2020 14:22:03 +0530 Subject: consistent error handling for HTTP request (and some other things) --- src/util/amounts-test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/util/amounts-test.ts') diff --git a/src/util/amounts-test.ts b/src/util/amounts-test.ts index e10ee5962..afd8caa51 100644 --- a/src/util/amounts-test.ts +++ b/src/util/amounts-test.ts @@ -24,9 +24,7 @@ const jAmt = ( currency: string, ): AmountJson => ({ value, fraction, currency }); -const sAmt = ( - s: string -): AmountJson => Amounts.parseOrThrow(s); +const sAmt = (s: string): AmountJson => Amounts.parseOrThrow(s); test("amount addition (simple)", (t) => { const a1 = jAmt(1, 0, "EUR"); -- cgit v1.2.3