launchpad: Add basic test for GasPrice

This commit is contained in:
willclarktech
2020-08-19 10:13:52 +01:00
parent c87b0643f9
commit 04f8e06771
+9
View File
@@ -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");
});
});