Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Mar 25, 2021
1 parent b58fe20 commit debf11e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/versions.test.js
Expand Up @@ -6,7 +6,7 @@ describe('versions', () => {
const versionInfo = getVersionInfo({
tag_name: 'v10.0.3',
name: 'Some release',
})
}, "$MAJOR.$MINOR.$PATCH")

expect(versionInfo.$NEXT_MAJOR_VERSION.version).toEqual('11.0.0')
expect(versionInfo.$NEXT_MAJOR_VERSION.template).toEqual('$MAJOR.$MINOR.$PATCH')
Expand Down Expand Up @@ -38,7 +38,7 @@ describe('versions', () => {
const versionInfo = getVersionInfo({
tag_name: 'notaproperversion',
name: '10.0.3',
})
}, "$MAJOR.$MINOR.$PATCH")

expect(versionInfo.$NEXT_MAJOR_VERSION.version).toEqual('11.0.0')
expect(versionInfo.$NEXT_MAJOR_VERSION.template).toEqual('$MAJOR.$MINOR.$PATCH')
Expand Down Expand Up @@ -70,7 +70,7 @@ describe('versions', () => {
const versionInfo = getVersionInfo({
tag_name: '10.0.3',
name: '8.1.0',
})
}, "$MAJOR.$MINOR.$PATCH")

expect(versionInfo.$NEXT_MAJOR_VERSION.version).toEqual('11.0.0')
expect(versionInfo.$NEXT_MAJOR_VERSION.template).toEqual('$MAJOR.$MINOR.$PATCH')
Expand Down Expand Up @@ -102,7 +102,7 @@ describe('versions', () => {
const versionInfo = getVersionInfo({
tag_name: 'v10.0.3-alpha',
name: 'Some release',
})
}, "$MAJOR.$MINOR.$PATCH")

expect(versionInfo.$NEXT_MAJOR_VERSION.version).toEqual('11.0.0')
expect(versionInfo.$NEXT_MAJOR_VERSION.template).toEqual('$MAJOR.$MINOR.$PATCH')
Expand Down

0 comments on commit debf11e

Please sign in to comment.