summary refs log tree commit diff homepage
path: root/tests/constants.ts
diff options
context:
space:
mode:
authordestruc7i0n <destruc7i0n@users.noreply.github.com>2022-01-03 16:08:32 -0500
committerdestruc7i0n <destruc7i0n@users.noreply.github.com>2022-01-03 16:08:32 -0500
commit3b0306b0f09d79426c117784092701e1a4d8133c (patch)
tree85d687f92776eaeb224bc30fac00eec304e858ef /tests/constants.ts
parentadded debug for webhook ratelimit (diff)
downloadshulker-3b0306b0f09d79426c117784092701e1a4d8133c.tar.gz
shulker-3b0306b0f09d79426c117784092701e1a4d8133c.zip
added tests
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,
+}