mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 15:44:45 -04:00
refactor(history-entry): rename lastVisited
This is part of an effort to name all date attributes consistently. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
f1feb3bf94
commit
6cd3feb82c
4 changed files with 9 additions and 9 deletions
|
@ -59,8 +59,8 @@ describe('Me', () => {
|
|||
expect(historyEntry.title).toEqual(historyDto.title);
|
||||
expect(historyEntry.tags).toEqual(historyDto.tags);
|
||||
expect(historyEntry.pinStatus).toEqual(historyDto.pinStatus);
|
||||
expect(historyEntry.lastVisited).toEqual(
|
||||
historyDto.lastVisited.toISOString(),
|
||||
expect(historyEntry.lastVisitedAt).toEqual(
|
||||
historyDto.lastVisitedAt.toISOString(),
|
||||
);
|
||||
}
|
||||
});
|
||||
|
@ -83,8 +83,8 @@ describe('Me', () => {
|
|||
expect(historyEntry.title).toEqual(historyEntryDto.title);
|
||||
expect(historyEntry.tags).toEqual(historyEntryDto.tags);
|
||||
expect(historyEntry.pinStatus).toEqual(historyEntryDto.pinStatus);
|
||||
expect(historyEntry.lastVisited).toEqual(
|
||||
historyEntryDto.lastVisited.toISOString(),
|
||||
expect(historyEntry.lastVisitedAt).toEqual(
|
||||
historyEntryDto.lastVisitedAt.toISOString(),
|
||||
);
|
||||
});
|
||||
it('fails with a non-existing note', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue