Skip to content

Commit

Permalink
Add minor boolean to test data
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed May 23, 2021
1 parent 20bb145 commit a80e311
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions test/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ describe('fetchTags', () => {
niceDate: '1 January 2001',
diff: 'v0.3.0..v1.0.0',
href: 'https://github.com/user/repo/compare/v0.3.0...v1.0.0',
major: true
major: true,
minor: false
},
{
tag: 'v0.3.0',
Expand All @@ -49,7 +50,8 @@ describe('fetchTags', () => {
niceDate: '1 April 2000',
diff: 'v0.2.2..v0.3.0',
href: 'https://github.com/user/repo/compare/v0.2.2...v0.3.0',
major: false
major: false,
minor: true
},
{
tag: 'v0.2.2',
Expand All @@ -60,7 +62,8 @@ describe('fetchTags', () => {
niceDate: '3 March 2000',
diff: 'v0.2.1..v0.2.2',
href: 'https://github.com/user/repo/compare/v0.2.1...v0.2.2',
major: false
major: false,
minor: false
},
{
tag: 'v0.2.1',
Expand All @@ -71,7 +74,8 @@ describe('fetchTags', () => {
niceDate: '2 March 2000',
diff: 'v0.2.0..v0.2.1',
href: 'https://github.com/user/repo/compare/v0.2.0...v0.2.1',
major: false
major: false,
minor: false
},
{
tag: 'v0.2.0',
Expand All @@ -82,7 +86,8 @@ describe('fetchTags', () => {
niceDate: '1 March 2000',
diff: 'v0.1.0..v0.2.0',
href: 'https://github.com/user/repo/compare/v0.1.0...v0.2.0',
major: false
major: false,
minor: true
},
{
tag: 'v0.1.0',
Expand All @@ -93,7 +98,8 @@ describe('fetchTags', () => {
niceDate: '1 February 2000',
diff: 'v0.1.0',
href: null,
major: false
major: false,
minor: false
}])
})

Expand Down

0 comments on commit a80e311

Please sign in to comment.