From 6393104644c957890800d0f622de4ed59b89e83c Mon Sep 17 00:00:00 2001 From: Lev Chelyadinov Date: Fri, 27 Dec 2024 00:54:48 +0100 Subject: [PATCH] Make it NO_COLOR --- integration-tests/tests/smoke.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/tests/smoke.test.ts b/integration-tests/tests/smoke.test.ts index f499a30..c077c62 100644 --- a/integration-tests/tests/smoke.test.ts +++ b/integration-tests/tests/smoke.test.ts @@ -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`)) })