mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Update acceptance tests
GitOrigin-RevId: cf8bc3f86ccff15df8e20ceda6842dad8538d5e3
This commit is contained in:
parent
c6c62088cc
commit
9490251251
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
import { expect } from 'chai'
|
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'
|
import UserHelper from './helpers/UserHelper.js'
|
||||||
|
|
||||||
describe('PasswordUpdate', function () {
|
describe('PasswordUpdate', function () {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { expect } from 'chai'
|
||||||
import Async from 'async'
|
import Async from 'async'
|
||||||
import User from './helpers/User.js'
|
import User from './helpers/User.js'
|
||||||
import settings from '@overleaf/settings'
|
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 CollaboratorsInviteHelper from '../../../app/src/Features/Collaborators/CollaboratorsInviteHelper.js'
|
||||||
import Features from '../../../app/src/infrastructure/Features.js'
|
import Features from '../../../app/src/infrastructure/Features.js'
|
||||||
import cheerio from 'cheerio'
|
import cheerio from 'cheerio'
|
||||||
|
|
|
@ -6,7 +6,7 @@ import AbstractMockApi from './AbstractMockApi.js'
|
||||||
|
|
||||||
class MockNotificationsApi extends AbstractMockApi {
|
class MockNotificationsApi extends AbstractMockApi {
|
||||||
applyRoutes() {
|
applyRoutes() {
|
||||||
this.app.get('/*', (req, res) => res.sendStatus(200))
|
this.app.get('/*', (req, res) => res.json([]))
|
||||||
this.app.post('/*', (req, res) => res.sendStatus(200))
|
this.app.post('/*', (req, res) => res.sendStatus(200))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue