UNPKG

wechaty-grpc

Version:
22 lines 959 B
#!/usr/bin/env -S node --no-warnings --loader ts-node/esm "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tstest_1 = require("tstest"); const mod_js_1 = require("./mod.js"); (0, tstest_1.test)('`grpc` is exported', async (t) => { t.ok(mod_js_1.grpc, 'should imported grpc'); }); (0, tstest_1.test)('`IPuppetServer` is exported', async (t) => { const i = {}; t.ok(i, 'should has typing IPuppetServer'); }); (0, tstest_1.test)('`PuppetService` is exported', async (t) => { t.ok(mod_js_1.puppet.PuppetService, 'should export PuppetSevice'); }); (0, tstest_1.test)('CJS: HealthCheckResponse', async (t) => { t.ok(mod_js_1.google.HealthCheckResponse, 'should exists "HealthCheckResponse"'); }); (0, tstest_1.test)('CJS: ServingStatus.SERVING', async (t) => { t.ok(mod_js_1.google.HealthCheckResponse.ServingStatus.SERVING, 'should exists "ServingStatus.SERVING"'); }); //# sourceMappingURL=mod.spec.js.map