This commit is contained in:
2021-08-15 18:37:39 +02:00
parent ab82b64fa1
commit 6a412ee673
67 changed files with 621 additions and 463 deletions

View File

@@ -0,0 +1,9 @@
const { getReq, getRes } = require('./modules/reqRes.module.js')
const { root_get } = require('../controllers/rootController.ts')
test('Home page render test', () => {
const req = getReq()
const res = getRes()
expect(root_get(req, res)).toBe(true)
})