mirror of
https://github.com/actions/setup-python.git
synced 2025-12-09 14:15:21 +00:00
npm run format
This commit is contained in:
parent
10f71d6692
commit
346f113b4e
@ -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…
x
Reference in New Issue
Block a user