@ptkdev/node-discord-bot-boilerplate
Version:
Create your discord bot with this friendly boilerplate. Use this repository as template for your bot
21 lines • 683 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Jest Tests
* =====================
*
* @contributors: Patryk Rzucidło [@ptkdev] <support@ptkdev.io> (https://ptk.dev)
* Alì Shadman [@AliShadman95]
*
* @license: MIT License
*
*/
const module_1 = __importDefault(require("../functions/module"));
test("show hello world", async () => {
const { app } = await module_1.default({ text: "hello-world" });
expect(app()).toBe("hello-world");
});
//# sourceMappingURL=module.test.js.map