feat: 把report迁移到src下 (#440)
This commit is contained in:
parent
039d634e62
commit
f73bf6fdeb
@ -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;
|
||||||
|
@ -135,7 +135,7 @@ describe('ResponseSchemaService', () => {
|
|||||||
{
|
{
|
||||||
$set: {
|
$set: {
|
||||||
isDeleted: true,
|
isDeleted: true,
|
||||||
updatedAt: new Date(),
|
updatedAt: expect.any(Date),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user