Skip to content

Commit

Permalink
fix: bot metadata type when only botVersion is added
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon committed Dec 16, 2021
1 parent 568548a commit b2cb29c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __tests__/unit/lib/service/botHandler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('test BotHandler', () => {
)
handler.handle()
expect(testContext.work.diffs.package).toHaveProperty(
'bots',
'Bot',
new Set(['TestBot'])
)
})
Expand All @@ -62,7 +62,7 @@ describe('test BotHandler', () => {
)
handler.handle()
expect(testContext.work.diffs.package).toHaveProperty(
'bots',
'Bot',
new Set(['TestBot'])
)
})
Expand Down
2 changes: 1 addition & 1 deletion src/service/botHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const WaveHandler = require('./waveHandler')
const path = require('path')

const BOT_TYPE = 'bots'
const BOT_TYPE = 'Bot'
const BOT_EXTENSION = 'bot'

class BotHandler extends WaveHandler {
Expand Down

0 comments on commit b2cb29c

Please sign in to comment.