mirror of
https://github.com/actions/setup-python.git
synced 2025-07-18 06:58:21 +02:00
npm run format
This commit is contained in:
parent
10f71d6692
commit
346f113b4e
1 changed files with 8 additions and 2 deletions
|
@ -56,7 +56,10 @@ describe('cacheDependencies', () => {
|
||||||
|
|
||||||
await cacheDependencies('pip', '3.12');
|
await cacheDependencies('pip', '3.12');
|
||||||
|
|
||||||
expect(mockedFsPromises.copyFile).toHaveBeenCalledWith(sourcePath, targetPath);
|
expect(mockedFsPromises.copyFile).toHaveBeenCalledWith(
|
||||||
|
sourcePath,
|
||||||
|
targetPath
|
||||||
|
);
|
||||||
expect(mockedCore.info).toHaveBeenCalledWith(
|
expect(mockedCore.info).toHaveBeenCalledWith(
|
||||||
`Copied ${sourcePath} to ${targetPath}`
|
`Copied ${sourcePath} to ${targetPath}`
|
||||||
);
|
);
|
||||||
|
@ -68,7 +71,10 @@ describe('cacheDependencies', () => {
|
||||||
|
|
||||||
await cacheDependencies('pip', '3.12');
|
await cacheDependencies('pip', '3.12');
|
||||||
|
|
||||||
expect(mockedFsPromises.copyFile).toHaveBeenCalledWith(sourcePath, targetPath);
|
expect(mockedFsPromises.copyFile).toHaveBeenCalledWith(
|
||||||
|
sourcePath,
|
||||||
|
targetPath
|
||||||
|
);
|
||||||
expect(mockedCore.info).toHaveBeenCalledWith(
|
expect(mockedCore.info).toHaveBeenCalledWith(
|
||||||
`Overwrote ${sourcePath} to ${targetPath}`
|
`Overwrote ${sourcePath} to ${targetPath}`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue