Update acceptance tests

GitOrigin-RevId: cf8bc3f86ccff15df8e20ceda6842dad8538d5e3
This commit is contained in:
Andrew Rumble 2024-10-10 13:05:26 +01:00 committed by Copybot
parent c6c62088cc
commit 9490251251
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
import { expect } from 'chai'
import PasswordResetRouter from '../../../app/src/Features/PasswordReset/PasswordResetRouter.js'
import PasswordResetRouter from '../../../app/src/Features/PasswordReset/PasswordResetRouter.mjs'
import UserHelper from './helpers/UserHelper.js'
describe('PasswordUpdate', function () {

View file

@ -2,7 +2,7 @@ import { expect } from 'chai'
import Async from 'async'
import User from './helpers/User.js'
import settings from '@overleaf/settings'
import CollaboratorsEmailHandler from '../../../app/src/Features/Collaborators/CollaboratorsEmailHandler.js'
import CollaboratorsEmailHandler from '../../../app/src/Features/Collaborators/CollaboratorsEmailHandler.mjs'
import CollaboratorsInviteHelper from '../../../app/src/Features/Collaborators/CollaboratorsInviteHelper.js'
import Features from '../../../app/src/infrastructure/Features.js'
import cheerio from 'cheerio'

View file

@ -6,7 +6,7 @@ import AbstractMockApi from './AbstractMockApi.js'
class MockNotificationsApi extends AbstractMockApi {
applyRoutes() {
this.app.get('/*', (req, res) => res.sendStatus(200))
this.app.get('/*', (req, res) => res.json([]))
this.app.post('/*', (req, res) => res.sendStatus(200))
}
}