Skip to content

Commit

Permalink
Update test to properly detect rollup version
Browse files Browse the repository at this point in the history
Since the package-lock structure has changed this test is failing
  • Loading branch information
NickColley committed Nov 21, 2018
1 parent c49697d commit 9826be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ describe('because rollup 0.60 drops support for Internet Explorer 8', () => {

describe('rollup', () => {
it('should be pinned to 0.56.5 in package-lock.json', () => {
expect(packageLockJson.dependencies['rollup'].version).toEqual('0.56.5')
expect(packageLockJson.dependencies['gulp-better-rollup'].requires.rollup).toEqual('0.56.5')
expect(packageLockJson.dependencies['gulp-better-rollup'].dependencies.rollup.version).toEqual('0.56.5')
})
})
})

0 comments on commit 9826be9

Please sign in to comment.