move integration tests to integration folder

This commit is contained in:
MapleLeaf
2021-12-21 13:35:22 -06:00
parent e2fbe5167e
commit 6fffdb0eda
2 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
import "dotenv/config.js"
import { raise } from "../src/helpers/raise.js"
function getEnvironmentValue(name: string) {
return process.env[name] ?? raise(`Missing environment variable: ${name}`)
}
export const testBotToken = getEnvironmentValue("TEST_BOT_TOKEN")
// export const testGuildId = getEnvironmentValue("TEST_GUILD_ID")
export const testChannelId = getEnvironmentValue("TEST_CHANNEL_ID")