mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Set importedAt date test into the past
GitOrigin-RevId: 535bbd72a7b72298367aa4da2e98de5542c53f30
This commit is contained in:
parent
cc0ce638b7
commit
ad5e818420
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ describe('<FileViewHeader/>', function () {
|
|||
source_entity_path: '/source-entity-path.ext',
|
||||
provider: 'project_file',
|
||||
importer_id: USER_ID,
|
||||
importedAt: new Date(2024, 9, 16, 1, 30).getTime(),
|
||||
importedAt: new Date(2024, 8, 16, 1, 30).getTime(),
|
||||
},
|
||||
created: new Date(2021, 1, 17, 3, 24).toISOString(),
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ describe('<FileViewHeader/>', function () {
|
|||
renderWithEditorContext(<FileViewHeader file={fileShown} />)
|
||||
screen.getByText('Imported from', { exact: false })
|
||||
screen.getByText('Another project', { exact: false })
|
||||
screen.getByText('/source-entity-path.ext, at 1:30 am Wed, 16th Oct 24', {
|
||||
screen.getByText('/source-entity-path.ext, at 1:30 am Mon, 16th Sep 24', {
|
||||
exact: false,
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue