diff --git a/libraries/botbuilder/src/setSpeakMiddleware.ts b/libraries/botbuilder/src/setSpeakMiddleware.ts index 560a982d14..78480d4c99 100644 --- a/libraries/botbuilder/src/setSpeakMiddleware.ts +++ b/libraries/botbuilder/src/setSpeakMiddleware.ts @@ -42,7 +42,7 @@ export class SetSpeakMiddleware implements Middleware { * @param voiceName The SSML voice name attribute value. * @param fallbackToTextForSpeak true if an empty Activity.Speak is populated with Activity.Text. */ - constructor(private readonly voiceName: string | null, private readonly fallbackToTextForSpeak: boolean) { } + constructor(private readonly voiceName: string | null, private readonly fallbackToTextForSpeak: boolean) {} /** * Processes an incoming activity. @@ -73,8 +73,9 @@ export class SetSpeakMiddleware implements Middleware { activity.speak = `${activity.speak}`; } - activity.speak = `${activity.speak}`; + activity.speak = `${activity.speak}`; } } }) diff --git a/libraries/botbuilder/tests/cloudAdapter.test.js b/libraries/botbuilder/tests/cloudAdapter.test.js index e0f6054e7b..aa1be73ba6 100644 --- a/libraries/botbuilder/tests/cloudAdapter.test.js +++ b/libraries/botbuilder/tests/cloudAdapter.test.js @@ -80,7 +80,7 @@ describe('CloudAdapter', function () { return this.configuration; } - set(_path, _val) { } + set(_path, _val) {} } const activity = { type: ActivityTypes.Invoke, value: 'invoke' }; @@ -128,7 +128,7 @@ describe('CloudAdapter', function () { mock.verify(); }); - it.skip('throws exception on expired token', async function () { + it('throws exception on expired token', async function () { const consoleStub = sandbox.stub(console, 'error'); // Expired token with removed AppID