refactor: move to vitest

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2022-09-12 15:31:48 +08:00
parent dfb1462023
commit 2513f88f44
16 changed files with 899 additions and 1465 deletions

View File

@@ -1,6 +1,7 @@
import { Controller, ControllerOptions } from '@nestjs/common'
import { API_VERSION } from '~/app.config'
import { isDev } from '~/global/env.global'
export const apiRoutePrefix = isDev ? '' : `/api/v${API_VERSION}`
export const ApiController: (

View File

@@ -1,5 +1,7 @@
import { ApiTags } from '@nestjs/swagger'
import { isDev } from '~/global/env.global'
export const ApiName: ClassDecorator = (target) => {
if (!isDev) {
return