From f096a9decf58e1f1e78d0ebfb7981bff8494b284 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder <231804+danez@users.noreply.github.com> Date: Fri, 18 Nov 2022 17:16:21 +0100 Subject: [PATCH] chore: disable color in test --- node/validation/manifest/index.test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/node/validation/manifest/index.test.ts b/node/validation/manifest/index.test.ts index f0d228a8..31273143 100644 --- a/node/validation/manifest/index.test.ts +++ b/node/validation/manifest/index.test.ts @@ -1,6 +1,13 @@ /* eslint-disable max-nested-callbacks */ +import process from 'process' + +// Disable chalk color output +process.env.FORCE_COLOR = '0' + +// eslint-disable-next-line import/first import { test, expect, describe } from 'vitest' +// eslint-disable-next-line import/first import { validateManifest, ManifestValidationError } from './index.js' // Factory so we have a new object per test