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

@@ -2,10 +2,10 @@
import type { Message, MessageOptions } from "discord.js" import type { Message, MessageOptions } from "discord.js"
import { Client, TextChannel } from "discord.js" import { Client, TextChannel } from "discord.js"
import React from "react" import React from "react"
import { omit } from "./helpers/omit.js" import { omit } from "../src/helpers/omit.js"
import { raise } from "./helpers/raise.js" import { raise } from "../src/helpers/raise.js"
import type { ReacordRoot } from "./main.js" import type { ReacordRoot } from "../src/main.js"
import { createRoot, Embed, EmbedField, Text } from "./main.js" import { createRoot, Embed, EmbedField, Text } from "../src/main.js"
import { testBotToken, testChannelId } from "./test-environment.js" import { testBotToken, testChannelId } from "./test-environment.js"
const client = new Client({ const client = new Client({

View File

@@ -1,5 +1,5 @@
import "dotenv/config.js" import "dotenv/config.js"
import { raise } from "./helpers/raise.js" import { raise } from "../src/helpers/raise.js"
function getEnvironmentValue(name: string) { function getEnvironmentValue(name: string) {
return process.env[name] ?? raise(`Missing environment variable: ${name}`) return process.env[name] ?? raise(`Missing environment variable: ${name}`)