Skip to content

Commit

Permalink
Merge pull request #202 from snyk/fix/fix-tests
Browse files Browse the repository at this point in the history
fix: fix tests
  • Loading branch information
admons authored Mar 14, 2023
2 parents 6144e09 + daee63e commit 67b64c7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# the repo. Unless a later match takes precedence,
# @loki will be requested for
# review when someone opens a pull request.
* @snyk/loki
* @snyk/os-managed
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@snyk/cli-interface": "^2.11.2",
"@snyk/dep-graph": "^1.28.1",
"shescape": "1.6.1",
"snyk-poetry-lockfile-parser": "^1.1.7",
"snyk-poetry-lockfile-parser": "^1.2.0",
"tmp": "0.2.1"
},
"devDependencies": {
Expand Down
8 changes: 6 additions & 2 deletions test/system/inspect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ describe('inspect', () => {
{ name: 'poetry-fixtures-project', version: '0.1.0' }
);
const expected = builder
.addPkgNode({ name: 'jinja2', version: '2.11.2' }, 'jinja2')
.addPkgNode({ name: 'jinja2', version: '2.11.2' }, 'jinja2', {
labels: { scope: 'prod' },
})
.connectDep(builder.rootNodeId, 'jinja2')
.addPkgNode({ name: 'markupsafe', version: '1.1.1' }, 'markupsafe')
.addPkgNode({ name: 'markupsafe', version: '1.1.1' }, 'markupsafe', {
labels: { scope: 'prod' },
})
.connectDep('jinja2', 'markupsafe')
.build();

Expand Down

0 comments on commit 67b64c7

Please sign in to comment.