UNPKG

state-switch

Version:

State Switch is a Change Monitor/Guarder for Async Actions.

15 lines 657 B
#!/usr/bin/env -S node --no-warnings --loader ts-node/esm "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const state_switch_js_1 = require("./state-switch.js"); const tstest_1 = require("tstest"); const busy_indicator_js_1 = require("./busy-indicator.js"); (0, tstest_1.test)('StateSwitchInterface', async (t) => { const ss = new state_switch_js_1.StateSwitch(); t.ok(typeof ss, 'should no typing error'); }); (0, tstest_1.test)('BusyIndicatorInterface', async (t) => { const bi = new busy_indicator_js_1.BusyIndicator(); t.ok(typeof bi, 'should no typing error'); }); //# sourceMappingURL=interface.spec.js.map