mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-24 10:42:37 +00: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,
|
||||
);
|
||||
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(
|
||||
prevEntry.user.username,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue