Commit 93a64379 authored by mxm-web-develop's avatar mxm-web-develop

321

parent b556ca5d
No preview for this file type
......@@ -37,14 +37,6 @@ model Products{
}
// model Photo{
// id String @default(uuid()) @id
// name String @unique
// png Boolean @default(true)
// svg Boolean? @default(false)
// jpg Boolean? @default(false)
// prefix String
// }
model Jobs{
id String @default(uuid()) @id
title String
......@@ -56,12 +48,6 @@ model Jobs{
location String @default("杭州西湖区")
}
// model Partners{
// id String @default(uuid()) @id
// name_cn String
// name_en String?
// }
model Events{
id String @default(uuid()) @id
......
import { Test, TestingModule } from '@nestjs/testing';
import { NewsController } from './news.controller';
import { NewsService } from './news.service';
describe('NewsController', () => {
let controller: NewsController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [NewsController],
providers: [NewsService],
}).compile();
controller = module.get<NewsController>(NewsController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment