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

@ -152,9 +152,9 @@ describe('Tools tests', () => {
'a',
'b'
]);
expect(
await tools.addComposer(['a', 'b', 'composer:1.2.3'])
).toStrictEqual(['composer:1.2.3', 'a', 'b']);
expect(await tools.addComposer(['a', 'b', 'composer:1.2.3'])).toStrictEqual(
['composer:1.2.3', 'a', 'b']
);
expect(
await tools.addComposer(['a', 'b', 'composer:v1.2.3'])
).toStrictEqual(['composer:1.2.3', 'a', 'b']);