Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgenware committed Oct 6, 2023
1 parent 4f1da85 commit 0bd30f2
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 2 deletions.
73 changes: 73 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"eslint": "^8.50.0",
"eslint-config-mgenware": "^0.10.0",
"eslint-plugin-import": "^2.28.1",
"is-wsl": "^3.1.0",
"mgenware-tsconfig-node": "^14.3.0",
"mocha": "^10.2.0",
"rimraf": "^5.0.5",
Expand Down
3 changes: 2 additions & 1 deletion tests/dz.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import isWsl from 'is-wsl';
import { t } from './common.js';

const conf = 'argsConf';

if (process.platform !== 'win32' && !process.env.CI) {
if (process.platform !== 'win32' && !isWsl && !process.env.CI) {
it('No args', async () => {
await t(
conf,
Expand Down
3 changes: 2 additions & 1 deletion tests/workingDir.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ it('Working dir - Child dir', async () => {
await t(
conf,
'child',
`>> #log
`>> #child
>> #log
>> node
data`,
{ checkPrefixes: true },
Expand Down

0 comments on commit 0bd30f2

Please sign in to comment.