mirror of
https://github.com/actions/setup-node.git
synced 2025-04-24 12:22:12 +00:00
refactored test to seperate lts alias describe()
This commit is contained in:
parent
5b7f417c91
commit
ab0d6af666
1 changed files with 213 additions and 213 deletions
|
@ -104,6 +104,7 @@ describe('setup-node', () => {
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
console.log('::stoptoken::'); // Re-enable executing of runner commands when running tests in actions
|
console.log('::stoptoken::'); // Re-enable executing of runner commands when running tests in actions
|
||||||
|
jest.restoreAllMocks();
|
||||||
}, 100000);
|
}, 100000);
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
@ -597,7 +598,7 @@ describe('setup-node', () => {
|
||||||
`Resolved ${versionFile} as ${expectedVersionSpec}`
|
`Resolved ${versionFile} as ${expectedVersionSpec}`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
describe('LTS version', () => {
|
describe('LTS version', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
os.platform = 'linux';
|
os.platform = 'linux';
|
||||||
|
@ -815,5 +816,4 @@ describe('setup-node', () => {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue