fix: hide unavailable Twins Lab demo

This commit is contained in:
Evandro Fonseca Junior committed 2026-09-04 22:04:55 -03:00
1 parent bea235d6fd
commit a2992ca41e
2 files changed
+6 -1

No files matched your search

+6
View File
@@ -98,3 +98,9 @@ it("resolves every declared related case ID", () => {
expect(unresolved).toEqual([]); expect(unresolved).toEqual([]);
}); });
it("does not publish the unavailable Twins Lab demo", () => {
expect(
caseStudies.find((item) => item.id === "twins-lab")?.demoUrl,
).toBeUndefined();
});
-1
View File
@@ -536,7 +536,6 @@ export const caseStudies: CaseStudyContent[] = [
impact: impact:
"Expor estados simulados do reator a uma interface autenticada e manter histórico/status do simulador.", "Expor estados simulados do reator a uma interface autenticada e manter histórico/status do simulador.",
stack: ["Next.js", "TypeScript", "NextAuth", "MongoDB", "SSE"], stack: ["Next.js", "TypeScript", "NextAuth", "MongoDB", "SSE"],
demoUrl: "https://twins.evandro.dev.br",
githubUrl: "https://github.com/evandrodevbr/twins-lab", githubUrl: "https://github.com/evandrodevbr/twins-lab",
detail: { detail: {
answer: { answer: {