Commit 1ed80da6 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

unit test in TypeScript

parent 664029f8
const gitlab = require('../functions/gitlab')
import gitlab from '../functions/gitlab'
//const axios = require('axios')
//jest.mock('axios')
......
const methods = require('../functions/methods')
import 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
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