-
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 #67 from snyk-tech-services/develop
release change
- Loading branch information
Showing
4 changed files
with
10 additions
and
17 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
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 |
---|---|---|
|
@@ -66,7 +66,6 @@ describe('Test End 2 End - Module', () => { | |
.readFileSync(fixturesFolderPath + 'snykTestsOutputs/test-goof.json') | ||
.toString(), | ||
); | ||
expect(consoleOutput).toContain('No new issues found !'); | ||
const expectedResult = { result: 0, newVulns: [], newLicenseIssues: [] }; | ||
expect(result).toEqual(expectedResult); | ||
}); | ||
|
@@ -79,7 +78,6 @@ describe('Test End 2 End - Module', () => { | |
true, | ||
); | ||
expect(debug('snyk')).toBeTruthy(); | ||
expect(consoleOutput).toContain('No new issues found !'); | ||
const expectedResult = { result: 0, newVulns: [], newLicenseIssues: [] }; | ||
expect(result).toEqual(expectedResult); | ||
}); | ||
|
@@ -94,18 +92,6 @@ describe('Test End 2 End - Module', () => { | |
.toString(), | ||
); | ||
|
||
const expectedOutput = [ | ||
'New issue introduced !', | ||
'Security Vulnerability:', | ||
' 1/1: Regular Expression Denial of Service (ReDoS) [High Severity]', | ||
' Via: [email protected] => @snyk/[email protected] => [email protected]', | ||
' Fixed in: acorn 5.7.4, 6.4.1, 7.1.1', | ||
' Fixable by upgrade: @snyk/[email protected]=>[email protected]', | ||
]; | ||
|
||
expectedOutput.forEach((line: string) => { | ||
expect(consoleOutput.join()).toContain(line); | ||
}); | ||
const expectedResult = { | ||
result: 1, | ||
newVulns: [ | ||
|
@@ -159,6 +145,7 @@ describe('Test End 2 End - Module', () => { | |
severity: 'high', | ||
title: 'Regular Expression Denial of Service (ReDoS)', | ||
from: [ | ||
'[email protected]', | ||
'[email protected]', | ||
'@snyk/[email protected]', | ||
'[email protected]', | ||
|