Skip to content

Commit 53e9765

Browse files
committed
fix tests
1 parent e769874 commit 53e9765

20 files changed

+2
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lib": "src"
2424
},
2525
"scripts": {
26-
"test": "node ./tests/test.js",
26+
"test": "npm run build-full && node ./tests/test.cjs",
2727
"build": "rollup -c",
2828
"build-full": "rollup -c --environment FULL",
2929
"build-dev": "rollup -c rollup.config.dev.js",
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/test.js renamed to tests/test.cjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require('..');
1+
require('../build/bundle.min.cjs').installIntoGlobal();
22
const { readdirSync } = require("fs");
33
const { join } = require("path");
44

@@ -25,4 +25,3 @@ const { join } = require("path");
2525
}
2626
}
2727
})();
28-
module.exports = null;

0 commit comments

Comments
 (0)