Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Update StaticServerDomain unit tests#3294

Merged
njx merged 2 commits into
masterfrom
jasonsanjose/middleware
Apr 1, 2013
Merged

Update StaticServerDomain unit tests#3294
njx merged 2 commits into
masterfrom
jasonsanjose/middleware

Conversation

@jasonsanjose

Copy link
Copy Markdown
Member

Refactor unit tests. Add new tests for warnings when a response (1) is not handled or (2) was already handled.

@ghost ghost assigned njx Apr 1, 2013

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should this be in a this.after() instead so that it always runs even if the test fails?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Moved to afterEach instead. I tried to use this.after(), but nodeConnection is already null by that point since afterEach runs first.

@njx

njx commented Apr 1, 2013

Copy link
Copy Markdown

Reviewed--looks good, just one note.

@jasonsanjose

Copy link
Copy Markdown
Member Author

Changes pushed. @njx ready to review

@njx

njx commented Apr 1, 2013

Copy link
Copy Markdown

Merging

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants