mirror of
https://github.com/actions/setup-node.git
synced 2025-07-04 06:10:52 +00:00
refactored test to seperate lts alias describe()
This commit is contained in:
parent
5b7f417c91
commit
ab0d6af666
@ -104,6 +104,7 @@ describe('setup-node', () => {
|
||||
|
||||
afterAll(async () => {
|
||||
console.log('::stoptoken::'); // Re-enable executing of runner commands when running tests in actions
|
||||
jest.restoreAllMocks();
|
||||
}, 100000);
|
||||
|
||||
//--------------------------------------------------
|
||||
@ -597,7 +598,7 @@ describe('setup-node', () => {
|
||||
`Resolved ${versionFile} as ${expectedVersionSpec}`
|
||||
);
|
||||
});
|
||||
|
||||
});
|
||||
describe('LTS version', () => {
|
||||
beforeEach(() => {
|
||||
os.platform = 'linux';
|
||||
@ -815,5 +816,4 @@ describe('setup-node', () => {
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user