Update dependencies

Update to Jest 27

Set sourceMap to true in tsconfig.json
This commit is contained in:
Shivam Mathur
2021-05-31 05:21:18 +05:30
parent bb0acc6313
commit 55ab748aaa
8 changed files with 2757 additions and 6000 deletions

View File

@ -8,11 +8,9 @@ jest.mock('@actions/core', () => ({
})
}));
jest.spyOn(utils, 'fetch').mockImplementation(
async (url): Promise<string> => {
return `{ "latest": "8.0", "5.x": "5.6", "url": "${url}" }`;
}
);
jest.spyOn(utils, 'fetch').mockImplementation(async (url): Promise<string> => {
return `{ "latest": "8.0", "5.x": "5.6", "url": "${url}" }`;
});
async function cleanup(path: string): Promise<void> {
fs.unlink(path, error => {