-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from snyk/fix/unmatched-attributes
fix: gradle deps conflict resolution
- Loading branch information
Showing
5 changed files
with
133 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,21 @@ if (kotlinSupported) { | |
const graphObject: any = JSON.parse( | ||
JSON.stringify(result.dependencyGraph), | ||
); | ||
t.ok(graphObject.graph.nodes[0].deps.length === 8, 'top level deps'); | ||
|
||
t.ok( | ||
graphObject.graph.nodes[0].deps.length === 3, | ||
'top level deps count', | ||
); | ||
|
||
t.deepEqual( | ||
graphObject.graph.nodes[0].deps, | ||
[ | ||
{ nodeId: 'org.jetbrains.kotlin:[email protected]' }, | ||
{ nodeId: 'org.jetbrains.kotlin:[email protected]' }, | ||
{ nodeId: 'org.jetbrains.kotlin:[email protected]' }, | ||
], | ||
'validate that top level dependencies are the correct ones', | ||
); | ||
}, | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.