Skip to content

Commit

Permalink
Re-add --golden, but as a hidden option
Browse files Browse the repository at this point in the history
  • Loading branch information
bearfriend committed Aug 2, 2023
1 parent 2efbb4d commit 63681da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/d2l-test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ else {
}

async function runTests() {
console.log(argv);

Check failure on line 31 in bin/d2l-test-runner.js

View workflow job for this annotation

GitHub Actions / Test

Unexpected console statement
const options = await runner.getOptions(argv);
await runner.start(options);
}
4 changes: 4 additions & 0 deletions src/server/cli/test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ async function getTestRunnerOptions(argv = []) {
description: 'Run tests in Firefox',
order: 3
},
{
name: 'golden',
type: Boolean
},
{
name: 'grep',
alias: 'g',
Expand Down

0 comments on commit 63681da

Please sign in to comment.