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`); }); });