Skip to content

Commit

Permalink
add tests for scoped packages
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke committed Nov 26, 2017
1 parent 702d2d4 commit e6a9757
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test.js
Expand Up @@ -23,4 +23,11 @@ describe('repos', () => {
expect(isUrl(url), `${url}`).to.eq(true)
})
})

it('includes scoped package names', () => {
expect(repos['@angular/core']).to.equal('https://github.com/angular/angular')

const scopedNames = Object.keys(repos).filter(name => name.startsWith('@'))
expect(scopedNames.length).to.be.above(32 * 1000)
})
})

0 comments on commit e6a9757

Please sign in to comment.