test: fix too strict test assertion

Rework the test verifying properties of `loopback` to ignore
new express properties added after the test was written.
This commit is contained in:
Miroslav Bajtoš 2017-10-04 10:31:50 +02:00
parent 1dd0ab31e0
commit 33989d776c
No known key found for this signature in database
GPG Key ID: 6F2304BA9361C7E3
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ describe('loopback', function() {
var actual = Object.getOwnPropertyNames(loopback); var actual = Object.getOwnPropertyNames(loopback);
actual.sort(); actual.sort();
expect(actual).to.eql(EXPECTED); expect(actual).to.include.members(EXPECTED);
}); });
}); });