diff --git a/packages/midway-component-kmore/test/decorator/61.transacional.test.ts b/packages/midway-component-kmore/test/decorator/61.transacional.test.ts index 73758f387..3d8da0e72 100644 --- a/packages/midway-component-kmore/test/decorator/61.transacional.test.ts +++ b/packages/midway-component-kmore/test/decorator/61.transacional.test.ts @@ -22,9 +22,9 @@ describe(fileShortPath(import.meta.url), () => { describe('Should @Transactional propagation work select/update', () => { const prefix = apiPrefix.methodDecorator - it(apiRoute.seperateTrx, async () => { + it(apiRoute.separateTrx, async () => { const { httpRequest } = testConfig - const url = `${prefix}/${apiRoute.seperateTrx}` + const url = `${prefix}/${apiRoute.separateTrx}` const resp = await httpRequest.get(url) assert(resp.ok, resp.text) diff --git a/packages/midway-component-kmore/test/decorator/62.transacional-class.test.ts b/packages/midway-component-kmore/test/decorator/62.transacional-class.test.ts index 4800eae96..0ca2e4e3e 100644 --- a/packages/midway-component-kmore/test/decorator/62.transacional-class.test.ts +++ b/packages/midway-component-kmore/test/decorator/62.transacional-class.test.ts @@ -21,9 +21,9 @@ describe(fileShortPath(import.meta.url), () => { describe('Should @Transactional propagation work select/update', () => { const prefix = apiPrefix.classDecorator - it(apiRoute.seperateTrx, async () => { + it(apiRoute.separateTrx, async () => { const { httpRequest } = testConfig - const url = `${prefix}/${apiRoute.seperateTrx}` + const url = `${prefix}/${apiRoute.separateTrx}` const resp = await httpRequest.get(url) assert(resp.ok, resp.text) diff --git a/packages/midway-component-kmore/test/decorator/65.deep.test.ts b/packages/midway-component-kmore/test/decorator/65.deep.test.ts index 87116da39..ac17366d8 100644 --- a/packages/midway-component-kmore/test/decorator/65.deep.test.ts +++ b/packages/midway-component-kmore/test/decorator/65.deep.test.ts @@ -21,9 +21,9 @@ describe(fileShortPath(import.meta.url), () => { describe('Should @Transactional propagation work', () => { const prefix = apiPrefix.classDecoratorDeep - it(apiRoute.seperateTrx, async () => { + it(apiRoute.separateTrx, async () => { const { httpRequest } = testConfig - const url = `${prefix}/${apiRoute.seperateTrx}` + const url = `${prefix}/${apiRoute.separateTrx}` const resp = await httpRequest.get(url) assert(resp.ok, resp.text) diff --git a/packages/midway-component-kmore/test/decorator/66.deep.test.ts b/packages/midway-component-kmore/test/decorator/66.deep.test.ts index 979442487..4ca7104e3 100644 --- a/packages/midway-component-kmore/test/decorator/66.deep.test.ts +++ b/packages/midway-component-kmore/test/decorator/66.deep.test.ts @@ -20,9 +20,9 @@ describe(fileShortPath(import.meta.url), () => { describe('Should @Transactional propagation work', () => { const prefix = apiPrefix.classDecoratorDeep2 - it(apiRoute.seperateTrx, async () => { + it(apiRoute.separateTrx, async () => { const { httpRequest } = testConfig - const url = `${prefix}/${apiRoute.seperateTrx}` + const url = `${prefix}/${apiRoute.separateTrx}` const resp = await httpRequest.get(url) assert(resp.ok, resp.text) diff --git a/packages/midway-component-kmore/test/fixtures/base-app/src/api-route.ts b/packages/midway-component-kmore/test/fixtures/base-app/src/api-route.ts index c8c9a79ef..bf1970616 100644 --- a/packages/midway-component-kmore/test/fixtures/base-app/src/api-route.ts +++ b/packages/midway-component-kmore/test/fixtures/base-app/src/api-route.ts @@ -19,7 +19,7 @@ export const apiRoute = { selfUpdateDel: 'self_update_delete', selfReturnMissingAwait: 'self_return_missing_await', selfReturnPromise: 'self_return_promise', - seperateTrx: 'seperate_trx', + separateTrx: 'separate_trx', sibling: 'sibling', simple: 'simple', supports: 'supports', diff --git a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/61a.method-decorator.controller.ts b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/61a.method-decorator.controller.ts index 7e3326cc8..52065a172 100644 --- a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/61a.method-decorator.controller.ts +++ b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/61a.method-decorator.controller.ts @@ -26,7 +26,7 @@ export class TrxDecoratorController { return 'OK' } - @Get(`/${apiRoute.seperateTrx}`) + @Get(`/${apiRoute.separateTrx}`) async serial(): Promise<'OK'> { await this.userSvc.getUsers() await this.userSvc.getUsers2() diff --git a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/62a.class-decorator.controller.ts b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/62a.class-decorator.controller.ts index 20a7a2e65..985d0471d 100644 --- a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/62a.class-decorator.controller.ts +++ b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/62a.class-decorator.controller.ts @@ -28,7 +28,7 @@ export class ClassDecoratorController { return 'OK' } - @Get(`/${apiRoute.seperateTrx}`) + @Get(`/${apiRoute.separateTrx}`) async serial(): Promise<'OK'> { await this.userSvc.getUsers() await this.userSvc.getUsers2() diff --git a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/65a.deep.controller.ts b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/65a.deep.controller.ts index e7ea61089..d8f18b33e 100644 --- a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/65a.deep.controller.ts +++ b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/65a.deep.controller.ts @@ -24,7 +24,7 @@ export class ClassDecoratorDeepController { return 'OK' } - @Get(`/${apiRoute.seperateTrx}`) + @Get(`/${apiRoute.separateTrx}`) async serial(): Promise<'OK'> { await this.userSvc3.getUsers() await this.userSvc3.getUsers2() diff --git a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/66a.deep.controller.ts b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/66a.deep.controller.ts index 4096d1fdf..67ff6a83f 100644 --- a/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/66a.deep.controller.ts +++ b/packages/midway-component-kmore/test/fixtures/base-app/src/transactional/66a.deep.controller.ts @@ -26,7 +26,7 @@ export class ClassDecoratorDeep2Controller { return 'OK' } - @Get(`/${apiRoute.seperateTrx}`) + @Get(`/${apiRoute.separateTrx}`) async serial(): Promise<'OK'> { await this.userSvc2.getUsers() await this.userSvc3.getUsers2()