refactored test to seperate lts alias describe()

This commit is contained in:
La'Kaleigh Harris 2021-10-07 14:53:46 +00:00 committed by GitHub
parent 5b7f417c91
commit ab0d6af666

View file

@ -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', () => {
});
});
});
});