Skip to content

Commit

Permalink
nice-registry#21 remove test for description
Browse files Browse the repository at this point in the history
  • Loading branch information
easingthemes committed Dec 24, 2018
1 parent 93c8c8f commit 0a6ae92
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,6 @@ describe('Package', () => {
expect(fakeValidPkg.valid).to.be.true
})

it('requires description', () => {
const oldDescription = pkg.description
delete pkg.description
expect(pkg.valid).to.be.false
expect(pkg.validationErrors.length).to.equal(1)
expect(pkg.validationErrors[0].property).to.equal('description')
pkg.description = oldDescription
})

it('requires name', () => {
const oldName = pkg.name
delete pkg.name
Expand Down

0 comments on commit 0a6ae92

Please sign in to comment.