it('uses shorthand format for "repository"', () => {
    const disk = mockDisk();
    const before = {
      repository: { url: 'git://gitlab.com/User/repo', type: 'git' },
    };