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 () => {
|
||||
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';
|
||||
|
@ -816,4 +817,3 @@ describe('setup-node', () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue