Skip to content
Snippets Groups Projects
Commit 4f592f4b authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: backedn test

parent a2ddc6de
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,10 @@ describe('authentication', () => {
const authIsReadyStub = sinon.stub(auth, 'ready')
require.cache[require.resolve('./datasets')] = {
exports: (req, res, next) => next()
exports: {
router: (req, res, next) => next(),
ready: async () => true
}
}
require.cache[require.resolve('./saneUrl')] = {
......
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