mirror of
https://github.com/actions/setup-node.git
synced 2025-07-23 23:18:25 +02:00
requested changes
This commit is contained in:
parent
63e6b4af5a
commit
658b51b920
4 changed files with 60 additions and 97 deletions
|
@ -41,16 +41,6 @@ describe('setup-node unit tests', () => {
|
|||
Distributions.CANARY
|
||||
);
|
||||
});
|
||||
it('1.1.1-canary should throw exception', () => {
|
||||
expect(() => distributionOf('1.1.1-canary')).toThrow(
|
||||
'Canary version must have "-v8-canary suffix"'
|
||||
);
|
||||
});
|
||||
it('1.1.1-canary20221103f7e2421e91 should throw exception', () => {
|
||||
expect(() => distributionOf('1.1.1-canary20221103f7e2421e91')).toThrow(
|
||||
'Canary version must have "-v8-canary suffix"'
|
||||
);
|
||||
});
|
||||
it('1.1.1-nightly should be NIGHTLY', () => {
|
||||
expect(distributionOf('1.1.1-nightly')).toBe(Distributions.NIGHTLY);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue