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:
parent
1dd0ab31e0
commit
33989d776c
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue