@@ -10,9 +10,8 @@ describe('TanStack Query React Client Generation', () => {
1010
1111 describe ( '--export-openapi-types --explicit-import-extensions --filter-services <blob>' , ( ) => {
1212 beforeAll ( async ( ) => {
13- const { QraftCommand } = await import (
14- '@openapi-qraft/plugin/lib/QraftCommand'
15- ) ;
13+ const { QraftCommand } =
14+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
1615 const { plugin } = await import ( './plugin.js' ) ;
1716 const command = new QraftCommand ( ) ;
1817 plugin . setupCommand ( command ) ;
@@ -74,9 +73,8 @@ describe('TanStack Query React Client Generation', () => {
7473
7574 describe ( 'no "--export-openapi-types"' , ( ) => {
7675 beforeAll ( async ( ) => {
77- const { QraftCommand } = await import (
78- '@openapi-qraft/plugin/lib/QraftCommand'
79- ) ;
76+ const { QraftCommand } =
77+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
8078 const { plugin } = await import ( './plugin.js' ) ;
8179 const command = new QraftCommand ( ) ;
8280 plugin . setupCommand ( command ) ;
@@ -102,9 +100,8 @@ describe('TanStack Query React Client Generation', () => {
102100
103101 describe ( '--openapi-types-import-path *.d.ts' , ( ) => {
104102 beforeAll ( async ( ) => {
105- const { QraftCommand } = await import (
106- '@openapi-qraft/plugin/lib/QraftCommand'
107- ) ;
103+ const { QraftCommand } =
104+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
108105 const { plugin } = await import ( './plugin.js' ) ;
109106 const command = new QraftCommand ( ) ;
110107 plugin . setupCommand ( command ) ;
@@ -131,9 +128,8 @@ describe('TanStack Query React Client Generation', () => {
131128
132129 describe ( '--openapi-types-import-path *.ts' , ( ) => {
133130 beforeAll ( async ( ) => {
134- const { QraftCommand } = await import (
135- '@openapi-qraft/plugin/lib/QraftCommand'
136- ) ;
131+ const { QraftCommand } =
132+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
137133 const { plugin } = await import ( './plugin.js' ) ;
138134 const command = new QraftCommand ( ) ;
139135 plugin . setupCommand ( command ) ;
@@ -160,9 +156,8 @@ describe('TanStack Query React Client Generation', () => {
160156
161157 describe ( '--explicit-import-extensions .ts --openapi-types-import-path ./openapi.d.ts' , ( ) => {
162158 beforeAll ( async ( ) => {
163- const { QraftCommand } = await import (
164- '@openapi-qraft/plugin/lib/QraftCommand'
165- ) ;
159+ const { QraftCommand } =
160+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
166161 const { plugin } = await import ( './plugin.js' ) ;
167162 const command = new QraftCommand ( ) ;
168163 plugin . setupCommand ( command ) ;
@@ -191,9 +186,8 @@ describe('TanStack Query React Client Generation', () => {
191186
192187 describe ( '--operation-predefined-parameters <...patterns> --explicit-import-extensions --openapi-types-import-path ./openapi.d.ts' , ( ) => {
193188 beforeAll ( async ( ) => {
194- const { QraftCommand } = await import (
195- '@openapi-qraft/plugin/lib/QraftCommand'
196- ) ;
189+ const { QraftCommand } =
190+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
197191 const { plugin } = await import ( './plugin.js' ) ;
198192 const command = new QraftCommand ( ) ;
199193 plugin . setupCommand ( command ) ;
@@ -229,9 +223,8 @@ describe('TanStack Query React Client Generation', () => {
229223
230224 describe ( '--override-import-type <...patterns> --operation-predefined-parameters <...patterns> --create-api-client-fn <...patterns>' , ( ) => {
231225 beforeAll ( async ( ) => {
232- const { QraftCommand } = await import (
233- '@openapi-qraft/plugin/lib/QraftCommand'
234- ) ;
226+ const { QraftCommand } =
227+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
235228 const { plugin } = await import ( './plugin.js' ) ;
236229 const command = new QraftCommand ( ) ;
237230 plugin . setupCommand ( command ) ;
@@ -314,9 +307,8 @@ describe('TanStack Query React Client Generation', () => {
314307
315308 describe ( '--queryable-write-operations' , ( ) => {
316309 beforeAll ( async ( ) => {
317- const { QraftCommand } = await import (
318- '@openapi-qraft/plugin/lib/QraftCommand'
319- ) ;
310+ const { QraftCommand } =
311+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
320312 const { plugin } = await import ( './plugin.js' ) ;
321313 const command = new QraftCommand ( ) ;
322314 plugin . setupCommand ( command ) ;
@@ -355,9 +347,8 @@ describe('TanStack Query React Client Generation', () => {
355347
356348 describe ( '--create-api-client-fn creates multiple clients' , ( ) => {
357349 beforeAll ( async ( ) => {
358- const { QraftCommand } = await import (
359- '@openapi-qraft/plugin/lib/QraftCommand'
360- ) ;
350+ const { QraftCommand } =
351+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
361352 const { plugin } = await import ( './plugin.js' ) ;
362353 const command = new QraftCommand ( ) ;
363354 plugin . setupCommand ( command ) ;
@@ -400,9 +391,8 @@ describe('TanStack Query React Client Generation', () => {
400391
401392 describe ( '--create-api-client-fn with specific callbacks and custom filename' , ( ) => {
402393 beforeAll ( async ( ) => {
403- const { QraftCommand } = await import (
404- '@openapi-qraft/plugin/lib/QraftCommand'
405- ) ;
394+ const { QraftCommand } =
395+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
406396 const { plugin } = await import ( './plugin.js' ) ;
407397 const command = new QraftCommand ( ) ;
408398 plugin . setupCommand ( command ) ;
@@ -434,9 +424,8 @@ describe('TanStack Query React Client Generation', () => {
434424
435425 describe ( '--create-api-client-fn with "all" value' , ( ) => {
436426 beforeAll ( async ( ) => {
437- const { QraftCommand } = await import (
438- '@openapi-qraft/plugin/lib/QraftCommand'
439- ) ;
427+ const { QraftCommand } =
428+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
440429 const { plugin } = await import ( './plugin.js' ) ;
441430 const command = new QraftCommand ( ) ;
442431 plugin . setupCommand ( command ) ;
@@ -468,9 +457,8 @@ describe('TanStack Query React Client Generation', () => {
468457
469458 describe ( '--create-api-client-fn with "none" value' , ( ) => {
470459 beforeAll ( async ( ) => {
471- const { QraftCommand } = await import (
472- '@openapi-qraft/plugin/lib/QraftCommand'
473- ) ;
460+ const { QraftCommand } =
461+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
474462 const { plugin } = await import ( './plugin.js' ) ;
475463 const command = new QraftCommand ( ) ;
476464 plugin . setupCommand ( command ) ;
@@ -502,9 +490,8 @@ describe('TanStack Query React Client Generation', () => {
502490
503491 describe ( 'default behavior (no --create-api-client-fn option)' , ( ) => {
504492 beforeAll ( async ( ) => {
505- const { QraftCommand } = await import (
506- '@openapi-qraft/plugin/lib/QraftCommand'
507- ) ;
493+ const { QraftCommand } =
494+ await import ( '@openapi-qraft/plugin/lib/QraftCommand' ) ;
508495 const { plugin } = await import ( './plugin.js' ) ;
509496 const command = new QraftCommand ( ) ;
510497 plugin . setupCommand ( command ) ;
0 commit comments