Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim.j committed Nov 29, 2019
1 parent 172e371 commit 9ed828c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/values.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe("values", () => {
endDate: {isNull: true}
});

chai.assert.isArray(values.body.filter(v => v.endDate === null));
chai.assert.isObject(values.body.find(v => v.endDate === null));
chai.assert.equal(values.body.filter(v => v.endDate != null).length, 0, `expected 0 results with a non-null endDate`);
});

Expand All @@ -155,7 +155,7 @@ describe("values", () => {
}
});

chai.assert.isArray(values.body.filter(v => v.endDate === null));
chai.assert.isObject(values.body.find(v => v.endDate === null));
chai.assert.equal(values.body.filter(v => v.endDate !== null).length, 0, `expected 0 results with a non-null endDate`);
});

Expand All @@ -167,7 +167,7 @@ describe("values", () => {
}
});

chai.assert.isArray(values.body.filter(v => v.endDate !== null));
chai.assert.isObject(values.body.find(v => v.endDate === null));
chai.assert.equal(values.body.filter(v => v.endDate === null).length, 0, `expected 0 results with a null endDate`);
});

Expand Down

0 comments on commit 9ed828c

Please sign in to comment.