python-archieve-projects/WechatBot/node_modules/gerror/dist/cjs/tests/integration.spec.js

10 lines
431 B
JavaScript
Executable File

#!/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("../src/mod.js");
(0, tstest_1.test)('smoke testing', async (t) => {
const gerror = mod_js_1.GError.from(new Error('test'));
t.ok(gerror, 'should instanciate GError from Error');
});
//# sourceMappingURL=integration.spec.js.map