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 f1db5bf commit d841befCopy full SHA for d841bef
test/inject.js
@@ -31,7 +31,7 @@ test('throws', () => {
31
assert.unreachable('should throw');
32
} catch (err) {
33
assert.instance(err, TypeError);
34
- assert.is(err.message, `Cannot read property 'foo' of undefined`);
+ assert.match(err.message, /Cannot read propert(ies|y 'foo') of undefined/);
35
}
36
});
37
0 commit comments