Fix JS equality rules in some specs

This commit is contained in:
Nick Thomas 2018-01-26 14:26:04 +00:00
parent 4376be84ce
commit 828e1573a7
No known key found for this signature in database
GPG Key ID: 2A313A47AFADACE9
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ describe('Pipelines Table Row', () => {
const pipelines = getJSONFixture(jsonFixtureName).pipelines;
pipeline = pipelines.find(p => p.user !== null && p.commit !== null);
pipelineWithoutAuthor = pipelines.find(p => p.user == null && p.commit !== null);
pipelineWithoutCommit = pipelines.find(p => p.user == null && p.commit == null);
pipelineWithoutAuthor = pipelines.find(p => p.user === null && p.commit !== null);
pipelineWithoutCommit = pipelines.find(p => p.user === null && p.commit === null);
});
afterEach(() => {