Update home.test.ts
This commit is contained in:
@@ -34,6 +34,8 @@ describe('XHome', () => {
|
|||||||
createdAt: '1970-01-01T00:00:00.000Z',
|
createdAt: '1970-01-01T00:00:00.000Z',
|
||||||
fields: [],
|
fields: [],
|
||||||
pinnedNotes: [],
|
pinnedNotes: [],
|
||||||
|
avatarUrl: 'https://example.com',
|
||||||
|
avatarDecorations: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
const anchor = home.container.querySelector<HTMLAnchorElement>('a[href^="https://example.com/"]');
|
const anchor = home.container.querySelector<HTMLAnchorElement>('a[href^="https://example.com/"]');
|
||||||
@@ -54,6 +56,8 @@ describe('XHome', () => {
|
|||||||
createdAt: '1970-01-01T00:00:00.000Z',
|
createdAt: '1970-01-01T00:00:00.000Z',
|
||||||
fields: [],
|
fields: [],
|
||||||
pinnedNotes: [],
|
pinnedNotes: [],
|
||||||
|
avatarUrl: 'https://example.com',
|
||||||
|
avatarDecorations: [],
|
||||||
});
|
});
|
||||||
|
|
||||||
const anchor = home.container.querySelector<HTMLAnchorElement>('a[href^="https://example.com/"]');
|
const anchor = home.container.querySelector<HTMLAnchorElement>('a[href^="https://example.com/"]');
|
||||||
|
|||||||
Reference in New Issue
Block a user