fixing main tests

This commit is contained in:
Dmitry Shibanov 2022-12-22 00:27:25 +01:00
parent 2723204c59
commit 5af9d8577e
2 changed files with 3 additions and 2 deletions

View file

@ -178,7 +178,7 @@ describe('main tests', () => {
expect(infoSpy).toHaveBeenCalledWith(
`Resolved ${versionFile} as ${expectedVersionSpec}`
);
});
}, 10000);
it('reads package.json as node-version-file if provided', async () => {
// Arrange
@ -205,7 +205,7 @@ describe('main tests', () => {
expect(infoSpy).toHaveBeenCalledWith(
`Resolved ${versionFile} as ${expectedVersionSpec}`
);
});
}, 10000);
it('both node-version-file and node-version are provided', async () => {
inputs['node-version'] = '12';