Skip to content

Commit 537fd3d

Browse files
fix: update compatibility assertion
1 parent 123eed6 commit 537fd3d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compatibility-checks/test/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ type TestRunner = {
1010

1111
test.describe('Verifies test runner compatibility', () => {
1212
const failingExec = (command: string): string => {
13-
process.env
1413
const { FORCE_COLOR, ...environment } = { ...process.env, CI: '1', NO_COLOR: '1' } as Partial<Record<string, string>>
1514
try {
1615
execSync(command, { env: environment, stdio: 'pipe' })
@@ -43,11 +42,10 @@ test.describe('Verifies test runner compatibility', () => {
4342
`Could not find the expected failure location in the output. Expected "${testRunner.failureLocationText}"`
4443
)
4544
assert.ok(
46-
result.includes('SubstituteException: Expected'),
45+
result.includes('SubstituteException: Call count mismatch'),
4746
`Could not find the expected exception message in the output: ${result}`
4847
)
4948
})
5049
})
5150
})
5251
})
53-

0 commit comments

Comments
 (0)