@travetto/test
Advanced tools
Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "@travetto/test", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Declarative test framework", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"@travetto/cli": "^3.2.0", | ||
"@travetto/transformer": "^3.2.0" | ||
"@travetto/transformer": "^3.2.1" | ||
}, | ||
@@ -41,0 +41,0 @@ "peerDependenciesMeta": { |
@@ -57,3 +57,3 @@ import { createReadStream } from 'fs'; | ||
static async getTestCount(patterns: string[]): Promise<number> { | ||
const proc = ExecUtil.spawn('npx', ['trv', 'test:count', ...patterns], { stdio: 'pipe', catchAsResult: true }); | ||
const proc = ExecUtil.spawn('npx', ['trv', 'test:count', ...patterns], { stdio: 'pipe', catchAsResult: true, env: { FORCE_COLOR: '0', NO_COLOR: '1' } }); | ||
const countRes = await proc.result; | ||
@@ -60,0 +60,0 @@ if (!countRes.valid) { |
110544