@ledgerhq/coin-canton
Version:
16 lines • 604 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const _1 = require(".");
describe("createApi", () => {
it("should return every api methods", () => {
const api = (0, _1.createApi)({});
expect(api.broadcast).toBeDefined();
expect(api.combine).toBeDefined();
expect(api.craftTransaction).toBeDefined();
expect(api.estimateFees).toBeDefined();
expect(api.getBalance).toBeDefined();
expect(api.lastBlock).toBeDefined();
expect(api.listOperations).toBeDefined();
});
});
//# sourceMappingURL=index.test.js.map