mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 16:41:09 +00:00
Merge pull request #13124 from overleaf/jk-disable-flaky-test-again
[web] disable flaky test with `fake-timers`, again GitOrigin-RevId: e53afd52058666b14c55fbe91bc1ea7b55a87c1a
This commit is contained in:
parent
ed19b2521f
commit
9d86affec4
1 changed files with 10 additions and 2 deletions
|
@ -502,7 +502,11 @@ function expectProjectCreated() {
|
|||
).to.have.been.calledWith(this.userId, this.projectName)
|
||||
})
|
||||
|
||||
it('sets the root doc', function () {
|
||||
/**
|
||||
* Temporarily disable flaky test
|
||||
*/
|
||||
// eslint-disable-next-line mocha/no-skipped-tests
|
||||
it.skip('sets the root doc', function () {
|
||||
// Fire pending timers
|
||||
this.clock.runAll()
|
||||
expect(
|
||||
|
@ -517,7 +521,11 @@ function expectProjectNotCreated() {
|
|||
.been.called
|
||||
})
|
||||
|
||||
it('does not set the root doc', function () {
|
||||
/**
|
||||
* Temporarily disable flaky test
|
||||
*/
|
||||
// eslint-disable-next-line mocha/no-skipped-tests
|
||||
it.skip('does not set the root doc', function () {
|
||||
// Fire pending timers
|
||||
this.clock.runAll()
|
||||
expect(this.RootDocManager.promises.setRootDocAutomatically).not.to.have
|
||||
|
|
Loading…
Reference in a new issue