Skip to content

Commit

Permalink
Update description of test cases dealing with circular references
Browse files Browse the repository at this point in the history
  • Loading branch information
mesaugat committed Apr 6, 2021
1 parent 9243498 commit 2a1a6b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chai-exclude.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('chai-exclude', () => {
assert.deepEqualExcludingEvery(initialObj, expectedObj2, ['a', 'b'])
})

it('should exclude key(s) in case of circular reference from comparison', () => {
it('should exclude circular reference key(s) from comparison', () => {
const initialObj = {
a: 'a',
b: 'b',
Expand Down Expand Up @@ -310,7 +310,7 @@ describe('chai-exclude', () => {
expect(initialArray).excluding('c').to.deep.equal(expectedArray)
})

it('should exclude a key from the object with circular key(s)', () => {
it('should exclude circular reference key(s) from comparison', () => {
const initialObj = {
a: 'a',
b: 'b',
Expand Down Expand Up @@ -594,7 +594,7 @@ describe('chai-exclude', () => {
expect(initialArray).excludingEvery(['a', 'd']).to.deep.equal(expectedArray2)
})

it('should exclude keys from the object with circular reference', () => {
it('should exclude circular reference key(s) from comparison', () => {
const initialObj = {
a: 'a',
b: 'b',
Expand Down

0 comments on commit 2a1a6b4

Please sign in to comment.