Skip to content

Commit 481d380

Browse files
committed
feat: add test location config
1 parent afd3524 commit 481d380

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/commands/package/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ export default class extends Command {
8383
}
8484

8585
for ( const test of packages ) {
86-
if ( !test.cliConfig?.tests.location ) continue;
86+
if ( !test.package.cliConfig?.tests.location ) continue;
8787

8888
console.log( "Test package:", test.package.name );
8989

90-
const res = childProcess.spawnSync( "node", [ ...args, test.cliConfig.tests.location ], {
90+
const res = childProcess.spawnSync( "node", [ ...args, test.package.cliConfig.tests.location ], {
9191
"cwd": test.package.root,
9292
"stdio": "inherit",
9393
} );

0 commit comments

Comments
 (0)