Skip to content

Commit

Permalink
test: up
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Apr 23, 2024
1 parent 2307fa7 commit 1fa5ec8
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1fa5ec8

Please sign in to comment.