Skip to content

Commit 16e0292

Browse files
sophiebitsdurran
andauthored
Apply suggestions from code review
Co-authored-by: Durran Jordan <[email protected]>
1 parent c53e517 commit 16e0292

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ describe('zstd', () => {
4444
try {
4545
await decompress(Buffer.from('invalid'));
4646
} catch (error) {
47-
expect(error.message).to.be('zstd: Unknown frame descriptor');
48-
expect(error.stack).to.match(/at decompress/);
47+
expect(error.message).to.equal('zstd: Unknown frame descriptor');
48+
expect(error.stack).to.match(/module.exports.decompress/);
4949
}
5050
});
5151
});

0 commit comments

Comments
 (0)