- update the default categories to include the uncategorized category
This commit is contained in:
@@ -144,6 +144,7 @@ it('Should fill `template` placeholders', async () => {
|
||||
|
||||
it('Should fill `template` placeholders, ignore', async () => {
|
||||
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs_test/configuration_empty_all_placeholders.json'))
|
||||
configuration.categories.pop() // drop `uncategorized` category
|
||||
const releaseNotesBuilder = new ReleaseNotesBuilder(
|
||||
null,
|
||||
null,
|
||||
|
||||
@@ -376,6 +376,7 @@ it('Match multiple labels exhaustive for category', async () => {
|
||||
|
||||
it('Deduplicate duplicated PRs', async () => {
|
||||
const customConfig = Object.assign({}, DefaultConfiguration)
|
||||
customConfig.categories.pop() // drop `uncategorized` category
|
||||
customConfig.duplicate_filter = {
|
||||
pattern: '\\[ABC-....\\]',
|
||||
on_property: 'title',
|
||||
@@ -388,6 +389,7 @@ it('Deduplicate duplicated PRs', async () => {
|
||||
|
||||
it('Deduplicate duplicated PRs DESC', async () => {
|
||||
const customConfig = Object.assign({}, DefaultConfiguration)
|
||||
customConfig.categories.pop() // drop `uncategorized` category
|
||||
customConfig.sort = 'DESC'
|
||||
customConfig.duplicate_filter = {
|
||||
pattern: '\\[ABC-....\\]',
|
||||
@@ -439,6 +441,7 @@ it('Use empty_content for empty category', async () => {
|
||||
|
||||
it('Commit SHA-1 in commitMode', async () => {
|
||||
const customConfig = Object.assign({}, DefaultConfiguration)
|
||||
customConfig.categories.pop() // drop `uncategorized` category
|
||||
customConfig.sort = 'DESC'
|
||||
customConfig.pr_template = '${{MERGE_SHA}}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user