refactor: strip Phase/Plan/R-number references from source comments
This commit is contained in:
@@ -18,7 +18,7 @@ describe("getPageBySlugUseCase", () => {
|
||||
expect(result).toBeUndefined();
|
||||
});
|
||||
|
||||
it("(R25) throws ZodError when repository returns malformed page data", async () => {
|
||||
it("throws ZodError when repository returns malformed page data", async () => {
|
||||
const repo = new MockPagesRepository([
|
||||
{
|
||||
id: "p-bad",
|
||||
@@ -34,6 +34,8 @@ describe("getPageBySlugUseCase", () => {
|
||||
} as never,
|
||||
]);
|
||||
const useCase = getPageBySlugUseCase(repo);
|
||||
await expect(useCase({ slug: "bad-page" })).rejects.toBeInstanceOf(ZodError);
|
||||
await expect(useCase({ slug: "bad-page" })).rejects.toBeInstanceOf(
|
||||
ZodError,
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -11,7 +11,7 @@ describe("getSiteSettingsUseCase", () => {
|
||||
expect(result.siteName).toBe("My App");
|
||||
});
|
||||
|
||||
it("(R25) throws ZodError when repository returns malformed site settings", async () => {
|
||||
it("throws ZodError when repository returns malformed site settings", async () => {
|
||||
const malformedRepo = {
|
||||
getSiteSettings: async () => ({ siteName: "" }),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user