Skip to content

Commit 72b702e

Browse files
committed
chore: Updated after review
1 parent 2b3d841 commit 72b702e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/compatibility-suites/openapi/response-headers-schema.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { runCommonResponseSchema31Tests } from './templates/response-schema31'
22

33
const SUITE_ID = 'response-headers-schema'
44

5-
const RESPONSE_SCHEMA_PATH = [
5+
const RESPONSE_HEADERS_SCHEMA_PATH = [
66
'paths',
77
'/path1',
88
'post',
@@ -14,5 +14,5 @@ const RESPONSE_SCHEMA_PATH = [
1414
]
1515

1616
describe('Openapi31 ResponseHeaders.Schema', () => {
17-
runCommonResponseSchema31Tests(SUITE_ID, RESPONSE_SCHEMA_PATH)
17+
runCommonResponseSchema31Tests(SUITE_ID, RESPONSE_HEADERS_SCHEMA_PATH)
1818
})

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).toEqual(0)
58+
expect(result.length).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).toEqual(0)
58+
expect(result.length).toBeEmpty()
5959
})
6060
}

0 commit comments

Comments
 (0)