chore: remove backlog references from code and documentation
This commit is contained in:
1 parent
0529601021
commit
8e7ce8d71c
129 files changed
+699
-701
No files matched your search
@@ -15,7 +15,7 @@ import {
|
||||
SearchStatusUpdate,
|
||||
} from "./schemas";
|
||||
|
||||
// These tests pin the generated visibility contract (TASK-088) that the
|
||||
// These tests pin the generated visibility contract that the
|
||||
// privacy settings screen consumes. They fail when regeneration lets a
|
||||
// request name a consent or a time, lets a card field name a name, a contact,
|
||||
// or the salary, lets the anonymous card gain a contact, mixes the search
|
||||
@@ -248,7 +248,9 @@ describe("generated AnonymousCardContent", () => {
|
||||
};
|
||||
|
||||
expect(CardPreview.parse(closed)).toEqual(closed);
|
||||
expect(CardPreview.parse({ ...closed, state: "published", fields: ["stack"], card })).toMatchObject({
|
||||
expect(
|
||||
CardPreview.parse({ ...closed, state: "published", fields: ["stack"], card }),
|
||||
).toMatchObject({
|
||||
card: { stack: ["PostgreSQL", "Kafka"] },
|
||||
});
|
||||
});
|
||||
@@ -268,10 +270,9 @@ describe("privacy schemas", () => {
|
||||
}));
|
||||
|
||||
const privacySide = [...sourcesIn(join("schemas", "privacy"))];
|
||||
const otherSide = ["organization", "invitation", "need", "candidate", "consent"].flatMap((tag) => [
|
||||
...sourcesIn(join("schemas", tag)),
|
||||
...sourcesIn(join("endpoints", tag)),
|
||||
]);
|
||||
const otherSide = ["organization", "invitation", "need", "candidate", "consent"].flatMap(
|
||||
(tag) => [...sourcesIn(join("schemas", tag)), ...sourcesIn(join("endpoints", tag))],
|
||||
);
|
||||
|
||||
// Generated object keys that only the visibility settings have, matched as
|
||||
// quoted keys because endpoint comments quote contract prose.
|
||||
@@ -293,7 +294,7 @@ describe("privacy schemas", () => {
|
||||
'"confirmed_categories":',
|
||||
'"text_version":',
|
||||
'"invitation_id":',
|
||||
'"fields": zod.array(zod.enum([\'email\'',
|
||||
"\"fields\": zod.array(zod.enum(['email'",
|
||||
];
|
||||
|
||||
it("finds the generated files of both sides", () => {
|
||||
|
||||
Reference in new issue
Block a user