Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Skills] Update ChannelServiceRoutes for improved Express support and add integration tests #1492

Closed
wants to merge 6 commits into from

Conversation

stevengum
Copy link
Member

Description

Fix bug around using the del() method on Express Applications when this method has been deprecated in Express 4.x.

The WebServer interface provided in ChannelServiceRoutes already had an optional delete() method which was added explicitly for Express Apps (Application.delete()).

The integration-tests folder in libraries/ has been added with TypeScript tests to verify that ChannelServiceRoutes.register() adds the 12 Channel Service routes to the provided server.

Specific Changes

  • Fix bug in ChanelServiceRoutes only using del() to register paths for DELETE methods.
  • Add TypeScript Integration tests for botbuilder with restify and express.

@stevengum
Copy link
Member Author

There the update Dependencies' version script is not updating the bot-integration-tests folder as intended, so [email protected] and [email protected] are being installed for the project, which leads to build failures.

I'll investigate the script after 4.7 is released.

@stevengum
Copy link
Member Author

Still a WIP, this PR should go to master instead.

@cleemullins
Copy link
Contributor

Close this PR, as it's targeting 4.7. Please retarget to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants