Files
vercel/packages/cli/test/unit/util/get-update-command.test.ts
Nathan Rajlich 3e7bcb2073 [cli] Remove a bunch of isCanary checks (#9806)
We no longer publish versions that include `-canary` in the package.json `version` field, so these are dead code. Just doing a little bit of cleanup.
2023-04-14 20:35:56 +00:00

9 lines
278 B
TypeScript

import getUpdateCommand from '../../../src/util/get-update-command';
describe('getUpdateCommand', () => {
it('should detect update command', async () => {
const updateCommand = await getUpdateCommand();
expect(updateCommand).toEqual(`npm i vercel@latest`);
});
});