mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
[misc] bump the dev-env to 3.3.2
This commit is contained in:
@@ -17,15 +17,15 @@ const crypto = require('crypto')
|
||||
const ChatClient = require('./helpers/ChatClient')
|
||||
const ChatApp = require('./helpers/ChatApp')
|
||||
|
||||
describe('Resolving a thread', function() {
|
||||
before(function(done) {
|
||||
describe('Resolving a thread', function () {
|
||||
before(function (done) {
|
||||
this.project_id = ObjectId().toString()
|
||||
this.user_id = ObjectId().toString()
|
||||
return ChatApp.ensureRunning(done)
|
||||
})
|
||||
|
||||
describe('with a resolved thread', function() {
|
||||
before(function(done) {
|
||||
describe('with a resolved thread', function () {
|
||||
before(function (done) {
|
||||
this.thread_id = ObjectId().toString()
|
||||
this.content = 'resolved message'
|
||||
return ChatClient.sendMessage(
|
||||
@@ -50,7 +50,7 @@ describe('Resolving a thread', function() {
|
||||
)
|
||||
})
|
||||
|
||||
return it('should then list the thread as resolved', function(done) {
|
||||
return it('should then list the thread as resolved', function (done) {
|
||||
return ChatClient.getThreads(
|
||||
this.project_id,
|
||||
(error, response, threads) => {
|
||||
@@ -68,8 +68,8 @@ describe('Resolving a thread', function() {
|
||||
})
|
||||
})
|
||||
|
||||
describe('when a thread is not resolved', function() {
|
||||
before(function(done) {
|
||||
describe('when a thread is not resolved', function () {
|
||||
before(function (done) {
|
||||
this.thread_id = ObjectId().toString()
|
||||
this.content = 'open message'
|
||||
return ChatClient.sendMessage(
|
||||
@@ -85,7 +85,7 @@ describe('Resolving a thread', function() {
|
||||
)
|
||||
})
|
||||
|
||||
return it('should not list the thread as resolved', function(done) {
|
||||
return it('should not list the thread as resolved', function (done) {
|
||||
return ChatClient.getThreads(
|
||||
this.project_id,
|
||||
(error, response, threads) => {
|
||||
@@ -98,8 +98,8 @@ describe('Resolving a thread', function() {
|
||||
})
|
||||
})
|
||||
|
||||
return describe('when a thread is resolved then reopened', function() {
|
||||
before(function(done) {
|
||||
return describe('when a thread is resolved then reopened', function () {
|
||||
before(function (done) {
|
||||
this.thread_id = ObjectId().toString()
|
||||
this.content = 'resolved message'
|
||||
return ChatClient.sendMessage(
|
||||
@@ -132,7 +132,7 @@ describe('Resolving a thread', function() {
|
||||
)
|
||||
})
|
||||
|
||||
return it('should not list the thread as resolved', function(done) {
|
||||
return it('should not list the thread as resolved', function (done) {
|
||||
return ChatClient.getThreads(
|
||||
this.project_id,
|
||||
(error, response, threads) => {
|
||||
|
||||
Reference in New Issue
Block a user