Skip to content

Commit

Permalink
test: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadnassri committed Sep 5, 2023
1 parent fac4433 commit 367bb83
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions test/scan.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,12 @@ test('throws if missing package.json', () => {
})

test('scan remote package', async () => {
const result = await scan({ package: '@ahmadnassri/build-essential', dependencies: 'peer' })
const result = await scan({ package: 'angular2', dependencies: 'peer' })

assert.deepEqual(result, [
'@ahmadnassri/eslint-config@^1.1.4',
'@ahmadnassri/remark-config@^1.0.2',
'@ahmadnassri/semantic-release-config@^1.0.8',
'editorconfig-checker@^1.3.3',
'eslint@^5.8.0',
'install-group@^3.0.0',
'node-release-lines@^1.3.2',
'npm-run-all@^4.1.3',
'remark-cli@^6.0.0',
'semantic-release@^15.10.8',
'updated@^1.2.2'
"es6-shim@^0.35.0",
"[email protected]",
"[email protected]",
"zone.js@^0.6.12"
])
})

0 comments on commit 367bb83

Please sign in to comment.