mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +02:00
fix: read last update from inner git repositories (#6592)
This commit is contained in:
parent
85351549fe
commit
b03431f139
2 changed files with 17 additions and 4 deletions
|
@ -55,7 +55,7 @@ describe('lastUpdate', () => {
|
|||
await expect(getFileLastUpdate(nonExistingFilePath)).resolves.toBeNull();
|
||||
expect(consoleMock).toHaveBeenCalledTimes(1);
|
||||
expect(consoleMock).toHaveBeenLastCalledWith(
|
||||
expect.stringMatching(/with exit code 128/),
|
||||
expect.stringMatching(/because the file does not exist./),
|
||||
);
|
||||
await expect(getFileLastUpdate(null)).resolves.toBeNull();
|
||||
await expect(getFileLastUpdate(undefined)).resolves.toBeNull();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue