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

Support JS baselines in Extract Method unit tests #18627

Closed
wants to merge 3 commits into from

Conversation

amcasey
Copy link
Member

@amcasey amcasey commented Sep 21, 2017

I basically just eyeballed the existing tests and picked the ones that looked like JS.

Note that we could actually get JS baselines for the other tests too, but I didn't see much benefit to doing so.

@amcasey
Copy link
Member Author

amcasey commented Sep 27, 2017

FYI @paulvanbrenk

@amcasey
Copy link
Member Author

amcasey commented Sep 27, 2017

I'm going to wait until #18783 is in.

@microsoft microsoft deleted a comment from msftclas Sep 27, 2017
if (!selectionRange) {
throw new Error(`Test ${caption} does not specify selection range`);
}
function testExtractMethod(caption: string, extensions: Extension[], text: string) {
Copy link
Contributor

Choose a reason for hiding this comment

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

make extension default to .ts?

@amcasey
Copy link
Member Author

amcasey commented Sep 28, 2017

Decided on a more automated approach. See #18829.

@amcasey amcasey closed this Sep 28, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 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.

5 participants