[misc] bump the dev-env to 3.3.2

This commit is contained in:
Jakob Ackermann
2020-08-10 17:01:11 +01:00
parent 512cb5df79
commit e992166680
27 changed files with 199 additions and 280 deletions
@@ -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) => {