fix: [#4684] ESLint issues in botframework-streaming #4825
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses #4684
#minor
Description
This PR fixes all the new ESLint errors and warnings that appeared after the ESLint packages' upgrade in the botframework-streaming project.
Specific Changes
to.equal(undefined | true | false)
due to mocha rule.Testing
The following image shows that there are no more ESLint issues, and the tests are passing after the changes.
![image](https://private-user-images.githubusercontent.com/62260472/380169154-43435a7c-4f80-48e3-a765-98959fcbd3b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDY4NzcsIm5iZiI6MTczOTY0NjU3NywicGF0aCI6Ii82MjI2MDQ3Mi8zODAxNjkxNTQtNDM0MzVhN2MtNGY4MC00OGUzLWE3NjUtOTg5NTlmY2JkM2I3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE5MDkzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxM2E0YTc0MmE0NGU5NmNmZWRiNTdlODFhZWY2OTZjMTcxN2FhODdjMmRjNTE4YTFkMTRkMzAyMjdmMWY5MWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.hXbPI69bJMsDY7uiSuppf8qb0pkaPk8aMIawIEHkr1U)