From 04f8e06771fe4318a286dc92fb0ff77da5797dd9 Mon Sep 17 00:00:00 2001 From: willclarktech Date: Tue, 18 Aug 2020 15:23:06 +0100 Subject: [PATCH] launchpad: Add basic test for GasPrice --- packages/launchpad/src/gas.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/launchpad/src/gas.spec.ts diff --git a/packages/launchpad/src/gas.spec.ts b/packages/launchpad/src/gas.spec.ts new file mode 100644 index 00000000..bb29902a --- /dev/null +++ b/packages/launchpad/src/gas.spec.ts @@ -0,0 +1,9 @@ +import { GasPrice } from "./gas"; + +describe("GasPrice", () => { + it("can be constructed", () => { + const gasPrice = new GasPrice(3.14, "utest"); + expect(gasPrice.amount).toEqual(3.14); + expect(gasPrice.denom).toEqual("utest"); + }); +});