Skip to content
Next Next commit
Make homepage available in all versions (#15846)
* make homepage available in all versions by default

* update hardcoded test
  • Loading branch information
sarahs authored Oct 1, 2020
commit d7d551302440220668085f941a472284c68788dc
5 changes: 1 addition & 4 deletions content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ popularLinks:
- /github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line
- /github/using-git/managing-remote-repositories
- /github/working-with-github-pages
versions:
free-pro-team: '*'
enterprise-server: '*'
versions: '*'
---

3 changes: 1 addition & 2 deletions tests/unit/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ describe('Page class', () => {
basePath: path.join(__dirname, '../../content'),
languageCode: 'en'
})
expect(page.versions[nonEnterpriseDefaultPlan]).toBe('*')
expect(page.versions['enterprise-server']).toBe('*')
expect(page.versions).toBe('*')
})

test('enterprise admin index page', async () => {
Expand Down