feat: 把report迁移到src下 (#440)

This commit is contained in:
luch 2024-10-08 16:26:33 +08:00 committed by luch1994
parent 039d634e62
commit f73bf6fdeb
4 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import { NestFactory } from '@nestjs/core'; import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module'; import { AppModule } from './app.module';
import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger'; import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger';
import 'scripts/run-report'; import './report';
async function bootstrap() { async function bootstrap() {
const PORT = process.env.PORT || 3000; const PORT = process.env.PORT || 3000;

View File

@ -135,7 +135,7 @@ describe('ResponseSchemaService', () => {
{ {
$set: { $set: {
isDeleted: true, isDeleted: true,
updatedAt: new Date(), updatedAt: expect.any(Date),
}, },
}, },
); );

View File

@ -13,7 +13,7 @@ export const getUserInfo = () => {
} }
/** 获取密码强度 */ /** 获取密码强度 */
export const getPasswordStrength = (password) => { export const getPasswordStrength = (password) => {
return axios.get('/auth/register/password/strength', { return axios.get('/auth/password/strength', {
params: { params: {
password password
} }