mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #3232 from overleaf/ta-file-tree-react
React File Tree GitOrigin-RevId: fb3141ba8cd9ca0d68e87edb74764a360144c8fe
This commit is contained in:
@@ -29,13 +29,11 @@ export function tearDownMathJaxStubs() {
|
||||
|
||||
export function stubChatStore({ user }) {
|
||||
window._ide = { socket: { on: sinon.stub(), off: sinon.stub() } }
|
||||
window.dispatchEvent = sinon.stub()
|
||||
window.user = user
|
||||
resetChatStore()
|
||||
}
|
||||
|
||||
export function tearDownChatStore() {
|
||||
delete window._ide
|
||||
delete window.dispatchEvent
|
||||
delete window.user
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user