mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[misc] ApplyingUpdatesToADocTests: adhere to stricter chai assertions
This commit is contained in:
parent
1184f8f5b6
commit
bf8224e2a0
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,7 @@ describe('Applying updates to a doc', function () {
|
|||
if (error != null) {
|
||||
throw error
|
||||
}
|
||||
result = parseInt(result, 10)
|
||||
result.should.be.within(this.startTime, Date.now())
|
||||
this.firstOpTimestamp = result
|
||||
return done()
|
||||
|
@ -186,6 +187,7 @@ describe('Applying updates to a doc', function () {
|
|||
if (error != null) {
|
||||
throw error
|
||||
}
|
||||
result = parseInt(result, 10)
|
||||
result.should.equal(this.firstOpTimestamp)
|
||||
return done()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue