Skip to content

Commit

Permalink
test: fix too strict test assertion
Browse files Browse the repository at this point in the history
Rework the test verifying properties of `loopback` to ignore
new express properties added after the test was written.
  • Loading branch information
bajtos committed Oct 4, 2017
1 parent 1dd0ab3 commit 33989d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/loopback.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe('loopback', function() {

var actual = Object.getOwnPropertyNames(loopback);
actual.sort();
expect(actual).to.eql(EXPECTED);
expect(actual).to.include.members(EXPECTED);
});
});

Expand Down

0 comments on commit 33989d7

Please sign in to comment.