Permalink
Browse files

add tests for scoped packages

  • Loading branch information...
zeke committed Nov 26, 2017
1 parent 702d2d4 commit e6a9757f8742f328c49cfb431261fdd6dce3aeed
Showing with 7 additions and 0 deletions.
  1. +7 −0 test.js
View
@@ -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.