mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
1 parent
b313cdc2fe
commit
6c6c67fd73
1 file changed
+1
-4
@@ -182,10 +182,7 @@ describe("d1ConfigStore", () => {
|
|||||||
routesTable.push(route("r1", "g1"), route("r2", "g2"));
|
routesTable.push(route("r1", "g1"), route("r2", "g2"));
|
||||||
|
|
||||||
// Simulate updating groups (e.g., changing a group's name)
|
// Simulate updating groups (e.g., changing a group's name)
|
||||||
const updatedGroups = [
|
const updatedGroups = [{ ...group("g1"), name: "Updated Group 1" }, group("g2")];
|
||||||
{ ...group("g1"), name: "Updated Group 1" },
|
|
||||||
group("g2"),
|
|
||||||
];
|
|
||||||
|
|
||||||
// This should not delete routes
|
// This should not delete routes
|
||||||
await cfg.saveGroups(updatedGroups);
|
await cfg.saveGroups(updatedGroups);
|
||||||
|
|||||||
Reference in new issue
Block a user