Skip to content

Commit

Permalink
Debug windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Oct 3, 2024
1 parent 5893644 commit 8f345d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .tapci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ disable-coverage: true
coverage-report:
- none
reporter: base
passes: true
passes: false
plugin:
- '!@tapjs/spawn'
- '!@tapjs/stdin'
1 change: 1 addition & 0 deletions scripts/utils/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ async function execNpm(args, options) {
}

async function runBin(binPath, args, options) {
console.log('binPath', binPath)
return await spawn(
WIN_32 ? binPath : execPath,
[...(WIN_32 ? [] : [binPath]), ...args],
Expand Down
8 changes: 4 additions & 4 deletions test/npm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ describe('npm', async () => {

it(`${pkgName} passes all its tests`, { skip }, async () => {
try {
await runScript('test', [], { cwd: nwPkgPath })
await runScript('test', [], { cwd: nwPkgPath, stdio: 'inherit' })
assert.ok(true)
} catch (e) {
console.log(`✘ ${pkgName}`, e)
assert.ok(false)
} catch (e: any) {
console.log(e)
//assert.ok(false)
}
})
}
Expand Down

0 comments on commit 8f345d5

Please sign in to comment.