Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
1ed80da6
Commit
1ed80da6
authored
3 years ago
by
Rosanny Sihombing
Browse files
Options
Download
Email Patches
Plain Diff
unit test in TypeScript
parent
664029f8
master
MLAB-677
devel
reset-jul13
reset-merge
testing
5 merge requests
!143
updating yml config
,
!112
merge testing
,
!102
updating yml config
,
!101
updating yml config
,
!97
Mlab 87 ts
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
__tests__/gitlab.unit.test.ts
+1
-1
__tests__/gitlab.unit.test.ts
__tests__/method.unit.test.ts
+2
-2
__tests__/method.unit.test.ts
with
3 additions
and
3 deletions
+3
-3
__tests__/gitlab.unit.test.
j
s
→
__tests__/gitlab.unit.test.
t
s
+
1
-
1
View file @
1ed80da6
cons
t
gitlab
=
require
(
'
../functions/gitlab
'
)
impor
t
gitlab
from
'
../functions/gitlab
'
//const axios = require('axios')
//jest.mock('axios')
...
...
This diff is collapsed.
Click to expand it.
__tests__/method.unit.test.
j
s
→
__tests__/method.unit.test.
t
s
+
2
-
2
View file @
1ed80da6
cons
t
methods
=
require
(
'
../functions/methods
'
)
impor
t
methods
from
'
../functions/methods
'
describe
(
"
DB methohds test
"
,
()
=>
{
...
...
@@ -49,4 +49,4 @@ describe("DB methohds test", () => {
expect
(
user
).
toBeNull
()
})
})
})
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets