Skip to content

Commit

Permalink
Make it NO_COLOR
Browse files Browse the repository at this point in the history
  • Loading branch information
illright committed Dec 26, 2024
1 parent f3f6865 commit 6393104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/tests/smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test('basic functionality in the kitchen sink example project', async () => {
await fs.rm(project, { recursive: true, force: true })
await fs.cp(kitchenSinkExample, project, { recursive: true })

const { stderr } = await exec('node', [steiger, 'src'], { nodeOptions: { cwd: project } })
const { stderr } = await exec('node', [steiger, 'src'], { nodeOptions: { cwd: project, env: { NO_COLOR: '1' } } })

await expect(stderr).toMatchFileSnapshot(join('__snapshots__', `smoke-stderr-${pathPlatform}.txt`))
})

0 comments on commit 6393104

Please sign in to comment.