Skip to content

Commit

Permalink
Trying to fix eslint for codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant committed Mar 7, 2017
1 parent 58a9a95 commit a74da30
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/objects.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,16 @@ describe('Object Functions', () => {
expect(newO).to.deep.equal({ b: 1 })
})
it('matchesSignature', () => {
expect(f.matchesSignature([], 0)).to.be.false
expect(f.matchesSignature([], '')).to.be.false
expect(f.matchesSignature([], x => x)).to.be.true
expect(f.matchesSignature([], [])).to.be.true
expect(f.matchesSignature([], { a: 1 })).to.be.false
expect(f.matchesSignature([ 'a' ], { a: 1 })).to.be.true
expect(f.matchesSignature([ 'b' ], { a: 1 })).to.be.false
expect(f.matchesSignature([ 'a' ], { a: 1, b: 2 })).to.be.false
expect(f.matchesSignature([ 'a' ], { a: undefined, b: undefined })).to.be.false
expect(f.matchesSignature([ 'a', 'b' ], { a: undefined })).to.be.true
expect(f.matchesSignature([], 0)).to.equal(false)
expect(f.matchesSignature([], '')).to.equal(false)
expect(f.matchesSignature([], x => x)).to.equal(true)
expect(f.matchesSignature([], [])).to.equal(true)
expect(f.matchesSignature([], { a: 1 })).to.equal(false)
expect(f.matchesSignature([ 'a' ], { a: 1 })).to.equal(true)
expect(f.matchesSignature([ 'b' ], { a: 1 })).to.equal(false)
expect(f.matchesSignature([ 'a' ], { a: 1, b: 2 })).to.equal(false)
expect(f.matchesSignature([ 'a' ], { a: undefined, b: undefined })).to.equal(false)
expect(f.matchesSignature([ 'a', 'b' ], { a: undefined })).to.equal(true)
})
it('compareDeep', () => {
const o = { a: { b: { c: 1 } } }
Expand Down

0 comments on commit a74da30

Please sign in to comment.