mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
tests(e2e/private/history): don't compare promises
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
bbf7209c27
commit
156957cd63
1 changed files with 3 additions and 1 deletions
|
@ -161,7 +161,9 @@ describe('History', () => {
|
||||||
user,
|
user,
|
||||||
);
|
);
|
||||||
expect(historyEntries).toHaveLength(1);
|
expect(historyEntries).toHaveLength(1);
|
||||||
expect(historyEntries[0].note.aliases).toEqual(prevEntry.note.aliases);
|
expect(await historyEntries[0].note.aliases).toEqual(
|
||||||
|
await prevEntry.note.aliases,
|
||||||
|
);
|
||||||
expect(historyEntries[0].user.username).toEqual(
|
expect(historyEntries[0].user.username).toEqual(
|
||||||
prevEntry.user.username,
|
prevEntry.user.username,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue