Skip to content

Commit

Permalink
rename qunit -> test, #1350
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 24, 2024
1 parent b253895 commit 3da831f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/scripts/hook-pre-commit-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const repo = getArg( 'repo' );
process.exit( success ? 0 : 1 );
}

else if ( command === 'qunit' ) {
else if ( command === 'test' ) {

// Run qunit tests if puppeteerQUnit exists in the checked-out SHAs and a test HTML exists.
const qUnitOK = await ( async () => {
Expand Down
2 changes: 1 addition & 1 deletion js/scripts/hook-pre-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const force = commandLineArguments.includes( '--force' );
}

// By default, run all tasks
const tasksToRun = [ 'lint', 'report-media', 'check', 'qunit', 'phet-io-api-compare' ];
const tasksToRun = [ 'lint', 'report-media', 'check', 'test', 'phet-io-api-compare' ];
const OPT_OUT_ALL = '*'; // Key to opt out of all tasks

// check local preferences for overrides for which tasks to turn 'off'
Expand Down

0 comments on commit 3da831f

Please sign in to comment.