From 3b0306b0f09d79426c117784092701e1a4d8133c Mon Sep 17 00:00:00 2001 From: destruc7i0n Date: Mon, 3 Jan 2022 16:08:32 -0500 Subject: added tests --- tests/constants.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/constants.ts (limited to 'tests/constants.ts') diff --git a/tests/constants.ts b/tests/constants.ts new file mode 100644 index 0000000..f60aa10 --- /dev/null +++ b/tests/constants.ts @@ -0,0 +1,8 @@ +import type { Config } from '../src/Config' + +export const defaultConfig: Config = { + ...require('../config.example.json'), + DISCORD_TOKEN: process.env.DISCORD_TOKEN, + WEBHOOK_URL: process.env.WEBHOOK_URL, + DISCORD_CHANNEL_ID: process.env.DISCORD_CHANNEL_ID, +} -- cgit 1.4.1