Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web2022_services
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Website
web2022_services
Commits
93a64379
Commit
93a64379
authored
Aug 12, 2022
by
mxm-web-develop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
321
parent
b556ca5d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
34 deletions
+0
-34
dev.db
prisma/dev.db
+0
-0
dev.db-journal
prisma/dev.db-journal
+0
-0
schema.prisma
prisma/schema.prisma
+0
-14
news.controller.spec.ts
src/news/news.controller.spec.ts
+0
-20
No files found.
prisma/dev.db
View file @
93a64379
No preview for this file type
prisma/dev.db-journal
deleted
100644 → 0
View file @
b556ca5d
File deleted
prisma/schema.prisma
View file @
93a64379
...
...
@@ -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
...
...
src/news/news.controller.spec.ts
deleted
100644 → 0
View file @
b556ca5d
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
();
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment