refactor: tighten types and reuse instrument UI
This commit is contained in:
@@ -65,6 +65,8 @@ describe("AppRoutes", () => {
|
||||
path: { pathname: "/login", state: { returnTo: "//example.com" } },
|
||||
title: "Вход",
|
||||
},
|
||||
{ endpoint: "login", path: { pathname: "/login", state: { returnTo: 42 } }, title: "Вход" },
|
||||
{ endpoint: "login", path: { pathname: "/login", state: 42 }, title: "Вход" },
|
||||
])("authenticates via $endpoint and reaches the protected landing from $path", async ({ endpoint, path, title }) => {
|
||||
let credentials: unknown;
|
||||
server.use(
|
||||
|
||||
Reference in New Issue
Block a user