Skip to content

Commit

Permalink
test(utils): licenses are undefined if not there
Browse files Browse the repository at this point in the history
  • Loading branch information
Realtin committed Jul 4, 2019
1 parent 887ce2b commit a329607
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#42b883",
"titleBar.inactiveBackground": "#42b88399",
"titleBar.activeForeground": "#15202b",
"titleBar.inactiveForeground": "#15202b99"
},
"standard.enable": true,
"cSpell.words": [
"backend",
"greenkeeper",
"prerelease",
"repo",
"repos"
]
}
4 changes: 2 additions & 2 deletions test/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ test('getLicenseAndPublisherFromVersions with no previous license', () => {
expect(output).toMatchObject({
license: 'kitty',
publisher: 'finn',
licenseHasChanged: true,
previousLicense: 'No license' })
licenseHasChanged: undefined,
previousLicense: undefined })
})

test('Use default env.GITHUB_URL in github compare URL', () => {
Expand Down

0 comments on commit a329607

Please sign in to comment.