Skip to content

Commit

Permalink
test: check scoped pkg entry parsing with v declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Aug 17, 2023
1 parent d6624ca commit 7a592aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/deps.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ test('parseDeps(): multiline', () => {
import foo from "foo"
import bar from "bar" /* @1.0.0 */
import baz from "baz" // @^2.0
import qux from "@qux/pkg/entry" // @^3.0
const cpy = await import('cpy')
const { pick } = require("lodash") // @4.17.15
Expand All @@ -117,6 +118,7 @@ test('parseDeps(): multiline', () => {
foo: 'latest',
bar: '1.0.0',
baz: '^2.0',
'@qux/pkg': '^3.0',
cpy: 'latest',
lodash: '4.17.15',
})
Expand Down

0 comments on commit 7a592aa

Please sign in to comment.