summary refs log tree commit diff homepage
path: root/tests/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/constants.ts')
-rw-r--r--tests/constants.ts8
1 files changed, 8 insertions, 0 deletions
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,
+}