move integration tests to integration folder
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
import type { Message, MessageOptions } from "discord.js"
|
||||
import { Client, TextChannel } from "discord.js"
|
||||
import React from "react"
|
||||
import { omit } from "./helpers/omit.js"
|
||||
import { raise } from "./helpers/raise.js"
|
||||
import type { ReacordRoot } from "./main.js"
|
||||
import { createRoot, Embed, EmbedField, Text } from "./main.js"
|
||||
import { omit } from "../src/helpers/omit.js"
|
||||
import { raise } from "../src/helpers/raise.js"
|
||||
import type { ReacordRoot } from "../src/main.js"
|
||||
import { createRoot, Embed, EmbedField, Text } from "../src/main.js"
|
||||
import { testBotToken, testChannelId } from "./test-environment.js"
|
||||
|
||||
const client = new Client({
|
||||
@@ -1,5 +1,5 @@
|
||||
import "dotenv/config.js"
|
||||
import { raise } from "./helpers/raise.js"
|
||||
import { raise } from "../src/helpers/raise.js"
|
||||
|
||||
function getEnvironmentValue(name: string) {
|
||||
return process.env[name] ?? raise(`Missing environment variable: ${name}`)
|
||||
Reference in New Issue
Block a user