mirror of
https://github.com/actions/setup-node.git
synced 2025-12-16 10:03:42 +08:00
requested changes
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user