Skip to content

Commit 5510501

Browse files
committed
fix: fix test script command
1 parent f944cc0 commit 5510501

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ export default class Package {
12741274
// "test" script
12751275
if ( ( await glob( "tests/**/*.test.js", { "cwd": pkg.root } ) ).length ) {
12761276
config.scripts ??= {};
1277-
config.scripts.test = "node --test tests/**/*.test.js";
1277+
config.scripts.test = `node --test "tests/**/*.test.js"`;
12781278
}
12791279
else {
12801280
delete config.scripts?.test;

0 commit comments

Comments
 (0)