-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: bump deps and add wireit #72
base: old-main-pnh
Are you sure you want to change the base?
Conversation
@W-12558108@
…c-test into phale/repo-setup
using standard dreamhouse ❌ [fixed in QA Pr] ✅ setup test did what I expected ❌ ❓ I can't get the PASSTHROUGH args to work. ❌
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved with non-blocking suggestions
* as arguments. | ||
* | ||
* The resulting argv array is then passed to the runJest method as arguments. | ||
*/ | ||
const addArgs: string[] = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove since all the intermediary mutating pushes are gone
const addArgs: string[] = []; | |
const addArgs: string[] = []; |
addArgs.push(args.passthrough); | ||
// remove the '--', '--json' and 'loglevel' flags from the this.argv array | ||
const tArgv = this.argv.filter((arg) => !['--', '--json', 'loglevel'].includes(arg)); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is json --json
but loglevel
isn't ?
Co-authored-by: Shane McLaughlin <[email protected]>
|
||
const hasWatchFlag = tArgv.includes('--watch'); | ||
const hasDebugFlag = tArgv.some(arg => /--debug|-d/.test(arg)); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
false positive for --detectopenhandles
. Regex might need start/end anchors?
https://jestjs.io/docs/cli#--detectopenhandles
What does this PR do?
Adds wireit build tooling and bumps deps
What issues does this PR fix or reference?
@W-12558108@