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 c53e517 commit 16e0292Copy full SHA for 16e0292
test/index.test.js
@@ -44,8 +44,8 @@ describe('zstd', () => {
44
try {
45
await decompress(Buffer.from('invalid'));
46
} catch (error) {
47
- expect(error.message).to.be('zstd: Unknown frame descriptor');
48
- expect(error.stack).to.match(/at decompress/);
+ expect(error.message).to.equal('zstd: Unknown frame descriptor');
+ expect(error.stack).to.match(/module.exports.decompress/);
49
}
50
});
51
0 commit comments