feat: passport-local authentication, story ownership
All checks were successful
/ checks (push) Successful in 41s
/ deploy (push) Successful in 4s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nholtware 2026-11-05 13:33:51 -06:00
parent ef23fdd187
commit ae7bc89a82
9 changed files with 395 additions and 11 deletions

View file

@ -79,10 +79,10 @@ describe("app", () => {
expect(await screen.findByText(/GET \/readyz/)).toBeInTheDocument();
expect(screen.getByText(/"status": "ready"/)).toBeInTheDocument();
expect(screen.getByText(/"service": "svc"/)).toBeInTheDocument();
expect(fetchMock.mock.calls.map((c) => c[0])).toEqual([
"/api/",
"/api/readyz",
]);
// Layout also asks /auth/me who is signed in; that's not what's under test.
expect(
fetchMock.mock.calls.map((c) => c[0]).filter((u) => u !== "/api/auth/me"),
).toEqual(["/api/", "/api/readyz"]);
});
it("status shows the error page when the backend is unreachable", async () => {