-
Notifications
You must be signed in to change notification settings - Fork 553
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 #739 from snyk/fix/ignore-empty-fixed-in-arrays
fix: Ignore empty fixedIn arrays
- Loading branch information
Showing
3 changed files
with
3,709 additions
and
379 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,10 @@ test('`test ruby-app` remediation displayed', async (t) => { | |
await snykTest('ruby-app'); | ||
} catch (error) { | ||
const res = error.message; | ||
t.match(res, 'Upgrade [email protected] to [email protected] to fix', 'upgrade advice displayed'); | ||
t.match(res, 'Tested 3 dependencies for known issues, found 6 issues, 8 vulnerable paths.'); | ||
t.match(res, 'Upgrade [email protected] to [email protected] to fix', 'upgrade advice displayed'); | ||
t.match(res, 'Tested 52 dependencies for known issues'); | ||
t.match(res, 'This issue was fixed in versions: 1.2.3', 'fixed in is shown'); | ||
t.match(res, 'No upgrade or patch available', 'some have no upgrade or patch'); | ||
} | ||
|
||
snykTestStub.restore(); | ||
|
Oops, something went wrong.