mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
feat(ui): update ui style
This commit is contained in:
35 files changed
+1577
-591
No files matched your search
@@ -2,6 +2,7 @@ import { describe, it, expect, beforeEach, afterEach } from "bun:test";
|
||||
import { sendMessage } from "../server/lib/drivers/discord/rest";
|
||||
import { renderNeutralMessage } from "../server/lib/drivers/discord/render";
|
||||
import { dispatchEvent } from "../server/lib/core/dispatch";
|
||||
import { invalidateGroupsCache } from "../server/lib/web/groups";
|
||||
import type { Env, Route } from "../server/lib/types";
|
||||
|
||||
function mockFetch(handler: (url: string, init?: RequestInit) => Response): void {
|
||||
@@ -102,6 +103,7 @@ describe("discord role mentions", () => {
|
||||
});
|
||||
|
||||
describe("dispatchEvent fallback routing", () => {
|
||||
beforeEach(() => invalidateGroupsCache());
|
||||
function createMockKV(): KVNamespace {
|
||||
const store = new Map<string, string>();
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user