Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Diposing decorators before applying new ones for code coverage. #2047

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

diogogmt
Copy link
Contributor

Following the suggestions described on issue #2045

Similar to the function updateCodeCoverageDecorators the applyCodeCoverage function now disposes of any existing decorators before applying new ones.

@SteelPhase
Copy link
Contributor

This appears to solve #2045

Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

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

Since we should always dispose the decorators before setting them, how about moving the dispose call inside setDecorators?

@SteelPhase
Copy link
Contributor

I've opened #2068 with the changes requested.

@ramya-rao-a
Copy link
Contributor

Closing this PR in favor of #2068

@ramya-rao-a ramya-rao-a reopened this Oct 31, 2018
@ramya-rao-a
Copy link
Contributor

Sorry about closing this PR, I didnt realize that #2068 was from a different person

I'll merge this PR which will fix the bug, and the refactoring can be dealt with in #2068

@ramya-rao-a ramya-rao-a merged commit acba4d7 into microsoft:master Oct 31, 2018
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.

3 participants