Add Prettier and ESLint tooling (Refs #77)
This commit is contained in:
@@ -6,7 +6,9 @@ it('retains deleted identities without linking to a replacement using the same s
|
||||
const props = { name: 't5_zombie_theater_1', href: '/servers/t5_zombie_theater_1' };
|
||||
const live = render(HistoricalServerIdentity, { props }).body;
|
||||
expect(live).toContain('href="/servers/t5_zombie_theater_1"');
|
||||
const deleted = render(HistoricalServerIdentity, { props: { ...props, deletedAt: '2026-09-27T12:00:00Z' } }).body;
|
||||
const deleted = render(HistoricalServerIdentity, {
|
||||
props: { ...props, deletedAt: '2026-09-27T12:00:00Z' }
|
||||
}).body;
|
||||
expect(deleted).toContain('t5_zombie_theater_1');
|
||||
expect(deleted).toContain('Deleted');
|
||||
expect(deleted).not.toContain('href=');
|
||||
|
||||
Reference in New Issue
Block a user