UNPKG

wechaty-grpc

Version:
20 lines 783 B
#!/usr/bin/env -S node --no-warnings --loader ts-node/esm import { test } from 'tstest'; import { grpc, puppet, google, } from './mod.js'; test('`grpc` is exported', async (t) => { t.ok(grpc, 'should imported grpc'); }); test('`IPuppetServer` is exported', async (t) => { const i = {}; t.ok(i, 'should has typing IPuppetServer'); }); test('`PuppetService` is exported', async (t) => { t.ok(puppet.PuppetService, 'should export PuppetSevice'); }); test('CJS: HealthCheckResponse', async (t) => { t.ok(google.HealthCheckResponse, 'should exists "HealthCheckResponse"'); }); test('CJS: ServingStatus.SERVING', async (t) => { t.ok(google.HealthCheckResponse.ServingStatus.SERVING, 'should exists "ServingStatus.SERVING"'); }); //# sourceMappingURL=mod.spec.js.map