library -> src
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { ComponentType } from "discord.js"
|
import { ComponentType } from "discord.js"
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import { beforeAll, expect, test } from "vitest"
|
import { beforeAll, expect, test } from "vitest"
|
||||||
import { ActionRow, Button, Option, Select } from "../library/main"
|
import { ActionRow, Button, Option, Select } from "../src/main"
|
||||||
import { ReacordTester } from "./tester"
|
import { ReacordTester } from "./tester"
|
||||||
|
|
||||||
let tester: ReacordTester
|
let tester: ReacordTester
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import {
|
|||||||
EmbedImage,
|
EmbedImage,
|
||||||
EmbedThumbnail,
|
EmbedThumbnail,
|
||||||
EmbedTitle,
|
EmbedTitle,
|
||||||
} from "../library/main"
|
} from "../src/main"
|
||||||
import { ReacordTester } from "./tester"
|
import { ReacordTester } from "./tester"
|
||||||
|
|
||||||
let tester: ReacordTester
|
let tester: ReacordTester
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { ButtonStyle, ComponentType } from "discord.js"
|
import { ButtonStyle, ComponentType } from "discord.js"
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import { beforeEach, expect, test } from "vitest"
|
import { beforeEach, expect, test } from "vitest"
|
||||||
import { Link } from "../library/main"
|
import { Link } from "../src/main"
|
||||||
import { ReacordTester } from "./tester"
|
import { ReacordTester } from "./tester"
|
||||||
|
|
||||||
let tester: ReacordTester
|
let tester: ReacordTester
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { waitFor } from "@reacord/helpers/wait-for.js"
|
import { waitFor } from "@reacord/helpers/wait-for.js"
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
import { beforeAll, expect, test } from "vitest"
|
import { beforeAll, expect, test } from "vitest"
|
||||||
import { Button, Embed, EmbedField, EmbedTitle } from "../library/main"
|
import { Button, Embed, EmbedField, EmbedTitle } from "../src/main"
|
||||||
import { ReacordTester } from "./tester"
|
import { ReacordTester } from "./tester"
|
||||||
|
|
||||||
let tester: ReacordTester
|
let tester: ReacordTester
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import { CategoryChannel, ChannelType, GatewayIntentBits } from "discord.js"
|
|||||||
import { kebabCase } from "lodash-es"
|
import { kebabCase } from "lodash-es"
|
||||||
import { randomBytes } from "node:crypto"
|
import { randomBytes } from "node:crypto"
|
||||||
import type { ReactNode } from "react"
|
import type { ReactNode } from "react"
|
||||||
import { createDiscordClient } from "../library/create-discord-client"
|
import { createDiscordClient } from "../src/create-discord-client"
|
||||||
import { ReacordClient } from "../library/reacord-client"
|
import { ReacordClient } from "../src/main"
|
||||||
import { testEnv } from "./test-env"
|
import { testEnv } from "./test-env"
|
||||||
|
|
||||||
export class ReacordTester {
|
export class ReacordTester {
|
||||||
|
|||||||
Reference in New Issue
Block a user