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 7a30847 commit 01821aeCopy full SHA for 01821ae
test/index.test.js
@@ -1,7 +1,7 @@
1
-const { test } = require('mocha');
2
-const { compress, decompress, getDefinedNapiVersion } = require('../lib/index');
+import { test } from 'mocha';
+import { compress, decompress, getDefinedNapiVersion } from '../lib/index';
3
4
-const { expect } = require('chai');
+import { expect } from 'chai';
5
6
describe('compat tests', function () {
7
let zstdLegacy;
0 commit comments