decentralization refactor wip
This commit is contained in:
@@ -40,7 +40,7 @@ test.beforeEach(async () => {
|
||||
await Promise.all(messages.map((message) => message.delete()))
|
||||
})
|
||||
|
||||
test.serial("kitchen sink + destroy", async (t) => {
|
||||
test.serial.only("kitchen sink + destroy", async (t) => {
|
||||
const root = createRoot(channel)
|
||||
|
||||
await root.render(
|
||||
@@ -110,18 +110,6 @@ test.serial("empty embed fallback", async (t) => {
|
||||
await assertMessages(t, [{ embeds: [{ color: null, description: "_ _" }] }])
|
||||
})
|
||||
|
||||
test.serial("invalid children error", (t) => {
|
||||
const root = createRoot(channel)
|
||||
|
||||
t.throws(() =>
|
||||
root.render(
|
||||
<Text>
|
||||
<Embed />
|
||||
</Text>,
|
||||
),
|
||||
)
|
||||
})
|
||||
|
||||
type MessageData = ReturnType<typeof extractMessageData>
|
||||
function extractMessageData(message: Message) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user