Skip to content

Commit a329607

Browse files
committed
test(utils): licenses are undefined if not there
1 parent 887ce2b commit a329607

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.vscode/settings.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"titleBar.activeBackground": "#42b883",
4+
"titleBar.inactiveBackground": "#42b88399",
5+
"titleBar.activeForeground": "#15202b",
6+
"titleBar.inactiveForeground": "#15202b99"
7+
},
8+
"standard.enable": true,
9+
"cSpell.words": [
10+
"backend",
11+
"greenkeeper",
12+
"prerelease",
13+
"repo",
14+
"repos"
15+
]
16+
}

test/utils/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ test('getLicenseAndPublisherFromVersions with no previous license', () => {
353353
expect(output).toMatchObject({
354354
license: 'kitty',
355355
publisher: 'finn',
356-
licenseHasChanged: true,
357-
previousLicense: 'No license' })
356+
licenseHasChanged: undefined,
357+
previousLicense: undefined })
358358
})
359359

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

0 commit comments

Comments
 (0)