Skip to content

Commit ae60e00

Browse files
committed
fix the ui unit testing error
1 parent af8cec1 commit ae60e00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

console/atest-ui/src/views/__test__/store.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { SupportedExtension, SupportedExtensions } from "../store";
1919
describe("SupportedExtensions", () => {
2020
test('length check', () => {
2121
const extensions = SupportedExtensions()
22-
expect(extensions.length).toBe(9)
22+
expect(extensions.length).toBe(10)
2323
})
2424

2525
for (const extension of SupportedExtensions()) {

console/atest-ui/src/views/__test__/types.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('CreateFilter', () => {
4646
describe('GetHTTPMethods', () => {
4747
test('HTTP methods', () => {
4848
const options = GetHTTPMethods()
49-
expect(options).toHaveLength(8)
49+
expect(options).toHaveLength(7)
5050
options.forEach((item) => {
5151
expect(item.key).toBe(item.value)
5252
})

0 commit comments

Comments
 (0)