some docs

This commit is contained in:
MapleLeaf
2021-12-26 15:05:58 -06:00
parent 7efc7d53c9
commit 51bbdea73e
30 changed files with 2623 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
import { nextTick } from "node:process"
import { promisify } from "node:util"
import { omit } from "../helpers/omit"
import type { TestAdapter } from "../library/main"
import type { TestAdapter } from "../library/testing"
const nextTickPromise = promisify(nextTick)

View File

@@ -8,9 +8,8 @@ import {
EmbedThumbnail,
EmbedTitle,
Reacord,
TestAdapter,
TestCommandInteraction,
} from "../library/main"
import { TestAdapter, TestCommandInteraction } from "../library/testing"
import { assertMessages } from "./assert-messages"
const adapter = new TestAdapter()

View File

@@ -1,10 +1,6 @@
import React from "react"
import {
Link,
Reacord,
TestAdapter,
TestCommandInteraction,
} from "../library/main"
import { Link, Reacord } from "../library/main"
import { TestAdapter, TestCommandInteraction } from "../library/testing"
import { assertMessages } from "./assert-messages"
const adapter = new TestAdapter()

View File

@@ -1,13 +1,6 @@
import * as React from "react"
import {
Button,
Embed,
EmbedField,
EmbedTitle,
Reacord,
TestAdapter,
TestCommandInteraction,
} from "../library/main"
import { Button, Embed, EmbedField, EmbedTitle, Reacord } from "../library/main"
import { TestAdapter, TestCommandInteraction } from "../library/testing"
import { assertMessages } from "./assert-messages"
test("rendering behavior", async () => {