Indentation and cleaning up
This commit is contained in:
Родитель
4cf6f18852
Коммит
96502c4d61
|
@ -32,6 +32,7 @@
|
|||
"hubot": "^2.19.0",
|
||||
"istanbul": "^0.4.5",
|
||||
"mocha": "^3.5.0",
|
||||
"mocha-lcov-reporter": "^1.3.0"
|
||||
"mocha-lcov-reporter": "^1.3.0",
|
||||
"rewiremock": "^3.7.7"
|
||||
}
|
||||
}
|
|
@ -222,7 +222,7 @@ describe 'TextMiddleware', ->
|
|||
text: 'an error message'
|
||||
address:
|
||||
conversation:
|
||||
id: "conversation-id"
|
||||
id: "conversation-id"
|
||||
bot:
|
||||
id: "bot-id"
|
||||
user:
|
||||
|
|
|
@ -1622,20 +1622,20 @@ describe 'MicrosoftTeamsMiddleware', ->
|
|||
value:
|
||||
hubotMessage: 'hubot gho delete team <team name>'
|
||||
address:
|
||||
id: 'address-id'
|
||||
channelId: 'channel-id'
|
||||
user:
|
||||
id: 'user-id'
|
||||
name: 'user-name'
|
||||
aadObjectId: 'user-aadobject-id'
|
||||
userPrincipalName: "user-UPN"
|
||||
conversation:
|
||||
conversationType: 'personal'
|
||||
id: 'conversation-id'
|
||||
bot:
|
||||
id: 'bot-id'
|
||||
name: 'bot-name'
|
||||
serviceUrl: 'service-url'
|
||||
id: 'address-id'
|
||||
channelId: 'channel-id'
|
||||
user:
|
||||
id: 'user-id'
|
||||
name: 'user-name'
|
||||
aadObjectId: 'user-aadobject-id'
|
||||
userPrincipalName: "user-UPN"
|
||||
conversation:
|
||||
conversationType: 'personal'
|
||||
id: 'conversation-id'
|
||||
bot:
|
||||
id: 'bot-id'
|
||||
name: 'bot-name'
|
||||
serviceUrl: 'service-url'
|
||||
expected = [
|
||||
{
|
||||
type: 'typing'
|
||||
|
|
Загрузка…
Ссылка в новой задаче