UNPKG

@0xcert/utils

Version:

General utility module with common helper functions.

17 lines 538 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const spec_1 = require("@hayspec/spec"); const utils = require(".."); const spec = new spec_1.Spec(); spec.test('exposes objects', (ctx) => { ctx.true(!!utils.sha); ctx.true(!!utils.keccak256); ctx.true(!!utils.toFloat); ctx.true(!!utils.toInteger); ctx.true(!!utils.toSeconds); ctx.true(!!utils.toString); ctx.true(!!utils.toTuple); ctx.true(!!utils.fetchJson); }); exports.default = spec; //# sourceMappingURL=index.test.js.map