Skip to content

Commit 8833c66

Browse files
committed
fix: Checked if array toBeEmpty
1 parent 72b702e commit 8833c66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/compatibility-suites/openapi/templates/response-schema31.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ export function runCommonResponseSchema31Tests(suiteId: string, commonPath: Json
5555
test('Reorder types in union type', async () => {
5656
const testId = 'reorder-types-in-union-type'
5757
const result = await compareFiles(suiteId, testId)
58-
expect(result.length).toBeEmpty()
58+
expect(result).toBeEmpty()
5959
})
6060
}

test/compatibility-suites/openapi/templates/schema31.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ export function runCommonSchema31Tests(suiteId: string, commonPath: JsonPath): v
5555
test('Reorder types in union type', async () => {
5656
const testId = 'reorder-types-in-union-type'
5757
const result = await compareFiles(suiteId, testId)
58-
expect(result.length).toBeEmpty()
58+
expect(result).toBeEmpty()
5959
})
6060
}

0 commit comments

Comments
 (0)