Skip to content

Commit 33989d7

Browse files
committed
test: fix too strict test assertion
Rework the test verifying properties of `loopback` to ignore new express properties added after the test was written.
1 parent 1dd0ab3 commit 33989d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/loopback.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ describe('loopback', function() {
9999

100100
var actual = Object.getOwnPropertyNames(loopback);
101101
actual.sort();
102-
expect(actual).to.eql(EXPECTED);
102+
expect(actual).to.include.members(EXPECTED);
103103
});
104104
});
105105

0 commit comments

Comments
 (0)