Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
niik committed Jun 5, 2024
1 parent 9875e76 commit 090e51b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"build": "yarn clean && tsc -p ./tsconfig.json && tsc -p ./examples/tsconfig.json",
"prepack": "yarn build && yarn test",
"postpublish": "git push --follow-tags",
"test": "yarn test:fast && yarn test:slow && yarn test:external",
"test:fast": "cross-env LOCAL_GIT_DIRECTORY=./git/ jest --runInBand --silent --config ./jest.fast.config.js",
"test": "yarn test:fast",
"test:fast": "cross-env LOCAL_GIT_DIRECTORY=./git/ jest --runInBand --silent --config ./jest.fast.config.js test/fast/environment-test.ts",
"test:slow": "cross-env LOCAL_GIT_DIRECTORY=./git/ jest --runInBand --silent --config ./jest.slow.config.js",
"test:external": "jest --runInBand --silent --config ./jest.external.config.js",
"download-git": "node ./script/download-git.js",
Expand Down
4 changes: 3 additions & 1 deletion test/fast/environment-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ describe('environment variables', () => {
}
})

it('resulting PATH contains the original PATH', async () => {
it.only('resulting PATH contains the original PATH', async () => {
const { env } = await setupEnvironment({})
process.stderr.write(`Path: ${process.env.Path}\n`)
process.stderr.write(`PATH: ${process.env.PATH}\n`)
expect((<any>env)['PATH']).toContain(process.env.PATH)
})
})

0 comments on commit 090e51b

Please sign in to comment.