Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit b9ce312

Browse files
committed
fix: tests
1 parent f409d03 commit b9ce312

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/openapi-parser/src/utils/workThroughQueue.test.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ describe('workThroughQueue', () => {
2525
})
2626

2727
expect(await result).toStrictEqual({
28+
errors: [],
2829
filesystem: [
2930
{
3031
dir: './',
@@ -65,9 +66,9 @@ describe('workThroughQueue', () => {
6566
})
6667

6768
expect(await result).toStrictEqual({
69+
errors: [],
6870
valid: true,
6971
version: '3.1',
70-
errors: [],
7172
filesystem: [
7273
{
7374
dir: './',
@@ -124,10 +125,10 @@ describe('workThroughQueue', () => {
124125
})
125126

126127
expect(await result).toStrictEqual({
128+
errors: [],
127129
specificationType: 'openapi',
128130
specificationVersion: '3.1.0',
129131
version: '3.1',
130-
errors: [],
131132
filesystem: [
132133
{
133134
dir: './',
@@ -184,6 +185,7 @@ describe('workThroughQueue', () => {
184185
})
185186

186187
expect(await result).toStrictEqual({
188+
errors: [],
187189
version: '3.1',
188190
specification: {
189191
openapi: '3.1.0',

0 commit comments

Comments
 (0)