We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f944cc0 commit 5510501Copy full SHA for 5510501
1 file changed
lib/package.js
@@ -1274,7 +1274,7 @@ export default class Package {
1274
// "test" script
1275
if ( ( await glob( "tests/**/*.test.js", { "cwd": pkg.root } ) ).length ) {
1276
config.scripts ??= {};
1277
- config.scripts.test = "node --test tests/**/*.test.js";
+ config.scripts.test = `node --test "tests/**/*.test.js"`;
1278
}
1279
else {
1280
delete config.scripts?.test;
0 commit comments