Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhulle committed Mar 31, 2024
1 parent f2b4897 commit dd86d44
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions packages/swagger-faker/src/OperationGenerator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('OperationGenerator', async () => {
seed: undefined,
transformers: {},
unknownType: 'any',
mapper: fakerKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand Down Expand Up @@ -55,7 +55,7 @@ describe('OperationGenerator', async () => {
seed: [222],
transformers: {},
unknownType: 'any',
mapper: fakerKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand Down Expand Up @@ -88,7 +88,7 @@ describe('OperationGenerator', async () => {
seed: undefined,
transformers: {},
unknownType: 'any',
mapper: fakerKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand All @@ -114,7 +114,7 @@ describe('OperationGenerator', async () => {
seed: undefined,
transformers: {},
unknownType: 'any',
mapper: fakerKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand Down
2 changes: 1 addition & 1 deletion packages/swagger-faker/src/SchemaGenerator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Faker SchemaGenerator enums', async () => {
seed: 1,
transformers: {},
unknownType: 'any',
mapper: fakerKeywordMapper,
mapper: {},
},
{
oas,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('<OperationSchema/>', async () => {
seed: undefined,
transformers: {},
unknownType: 'any',
mapper: fakerKeywordMapper,
mapper: {},
}

const plugin = { options } as Plugin<PluginOptions>
Expand Down
2 changes: 1 addition & 1 deletion packages/swagger-faker/src/components/Schema.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('<Schema/>', async () => {
seed: undefined,
transformers: {},
unknownType: 'any',
mapper: fakerKeywordMapper,
mapper: {},
}

const plugin = { options } as Plugin<PluginOptions>
Expand Down
8 changes: 4 additions & 4 deletions packages/swagger-zod/src/OperationGenerator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('OperationGenerator', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand Down Expand Up @@ -68,7 +68,7 @@ describe('OperationGenerator', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand Down Expand Up @@ -100,7 +100,7 @@ describe('OperationGenerator', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand Down Expand Up @@ -132,7 +132,7 @@ describe('OperationGenerator', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
}

const og = await new OperationGenerator(options, {
Expand Down
20 changes: 10 additions & 10 deletions packages/swagger-zod/src/SchemaGenerator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('Zod SchemaGenerator PetStore', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -58,7 +58,7 @@ describe('Zod SchemaGenerator PetStore', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -88,7 +88,7 @@ describe('Zod SchemaGenerator PetStore', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -118,7 +118,7 @@ describe('Zod SchemaGenerator PetStore', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -148,7 +148,7 @@ describe('Zod SchemaGenerator PetStore', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -181,7 +181,7 @@ describe('ZodGenerator constCases', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -268,7 +268,7 @@ describe('Zod SchemaGenerator lazy', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -301,7 +301,7 @@ describe('Zod SchemaGenerator enums', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -344,7 +344,7 @@ describe('Zod SchemaGenerator recursive', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down Expand Up @@ -377,7 +377,7 @@ describe('Zod SchemaGenerator anyof', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
},
{
oas,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('<OperationSchema/>', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
}

const plugin = { options } as Plugin<PluginOptions>
Expand Down
2 changes: 1 addition & 1 deletion packages/swagger-zod/src/components/Operations.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('<Operations/>', async () => {
templates: {
operations: Operations.templates,
},
mapper: zodKeywordMapper,
mapper: {},
}
const plugin = { options } as Plugin<PluginOptions>
const og = await new OperationGenerator(options, {
Expand Down

0 comments on commit dd86d44

Please sign in to comment.