-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(license): show old license if changed, support no license, renam…
…e get util
- Loading branch information
Showing
8 changed files
with
120 additions
and
70 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
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ const versionInfos = { | |
} | ||
} | ||
|
||
describe.only('create version branch', () => { | ||
describe('create version branch', () => { | ||
beforeEach(() => { | ||
delete process.env.IS_ENTERPRISE | ||
cleanCache('../../lib/env') | ||
|
@@ -281,7 +281,7 @@ describe.only('create version branch', () => { | |
oldVersion: '^1.0.0', | ||
oldVersionResolved: '1.0.0', | ||
versions: { | ||
'1.0.0': versionInfos, | ||
'1.0.0': { ...versionInfos, license: 'BYOL' }, | ||
'2.0.0': versionInfos | ||
} | ||
}) | ||
|
@@ -2169,7 +2169,6 @@ describe('create version branch for dependencies from monorepos', () => { | |
versions: { | ||
'1.0.0': { | ||
gitHead: 'deadbeef100', | ||
'license': 'MIT', | ||
'_npmUser': { | ||
name: 'finn', | ||
email: '[email protected]' | ||
|
@@ -2180,7 +2179,16 @@ describe('create version branch for dependencies from monorepos', () => { | |
repository: { | ||
url: 'https://github.com/numbers/monorepo' | ||
}, | ||
'license': 'MIT', | ||
'_npmUser': { | ||
name: 'finn', | ||
email: '[email protected]' | ||
} | ||
}, | ||
'2.2.0': { | ||
gitHead: 'deadbeef220', | ||
repository: { | ||
url: 'https://github.com/numbers/monorepo' | ||
}, | ||
'_npmUser': { | ||
name: 'finn', | ||
email: '[email protected]' | ||
|
Oops, something went wrong.