launchpad: Add basic test for GasPrice

This commit is contained in:
willclarktech 2020-08-18 15:23:06 +01:00
parent c87b0643f9
commit 04f8e06771
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

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");
});
});