Skip to content

Conversation

@swagatmishra2007
Copy link
Member

  • Added support for retry-after header and version information for directline-js to the useragent.
  • Interfaced out dependencies with side effects (like Ajax) to make the main code more unit testable and also to be able to inject global functionality
  • Added some unit testing infrastructure using the rxjs test scheduler
  • Added tests for the new functionality added

random: () => number;
}

const wrapWithRetry = (source: AjaxCreationMethod, scheduler: IScheduler): AjaxCreationMethod =>{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const wrapWithRetry = (source: AjaxCreationMethod, scheduler: IScheduler): AjaxCreationMethod =>{
const wrapAjaxWithRetry = (source: AjaxCreationMethod, scheduler: IScheduler): AjaxCreationMethod =>{

swagatmishra2007 and others added 2 commits December 10, 2019 16:19
simpler changes from PR feedback

Co-Authored-By: William Wong <compulim@users.noreply.github.com>
@swagatmishra2007 swagatmishra2007 merged commit 41f5df3 into master Dec 11, 2019
@swagatmishra2007 swagatmishra2007 deleted the wportnoy/DLJS-Tests branch December 11, 2019 00:30
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