refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -10,7 +10,7 @@ test("all authentication components use theme tokens and Tailwind utilities", ()
|
||||
for (const file of files) {
|
||||
const source = readFileSync(join(directory, file), "utf8");
|
||||
expect(source).toContain("component ");
|
||||
expect(source).toContain("--wire-");
|
||||
expect(source).toContain("--wrn-");
|
||||
expect(source).not.toContain("<style");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -21,7 +21,7 @@ function context(request: Request): Context {
|
||||
ip: "127.0.0.1",
|
||||
user: null,
|
||||
cookies: {
|
||||
get: (name: string) => (name === "wire-csrf" ? "route-csrf-token" : undefined),
|
||||
get: (name: string) => (name === "wrn-csrf" ? "route-csrf-token" : undefined),
|
||||
} as Context["cookies"],
|
||||
localStorage: {} as Context["localStorage"],
|
||||
session: {
|
||||
|
||||
Reference in New Issue
Block a user