We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b76769 commit 4e18a98Copy full SHA for 4e18a98
test/specs/model.spec.ts
@@ -1007,7 +1007,7 @@ describe('model', () => {
1007
throw new Error('Update should throw an error if no where clause is given.');
1008
}, (err) => {
1009
expect(err).to.be.an.instanceof(Error);
1010
- expect(err.message).to.equal('Missing where attribute in the options parameter passed to update.');
+ expect(err.message).to.match(/^Missing where attribute in the options parameter/);
1011
});
1012
1013
0 commit comments