Skip to content

Conversation

jseminck
Copy link
Contributor

I recently wrote a small codemod to transform the eslint tests from using the code: ['','',''].join('\n') syntax to use the template literal syntax instead.

The code is available at: https://astexplorer.net/#/gist/000b6e8110a245ca6384c260b954e452/1687ee893085fdae7119c809294e5ed43a3fe428

All tests of this project were able to translate quite nicely. I'm not sure if you want this change but IMHO it makes working with tests much much easier. 😄

There's 1 comment that I had to re-add, please check if it's in the right location.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 71.91% when pulling 87ad8a2 on jseminck:tests-with-literals into 62d035a on Intellicode:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 71.91% when pulling 87ad8a2 on jseminck:tests-with-literals into 62d035a on Intellicode:master.

@Intellicode Intellicode merged commit d239966 into Intellicode:master Sep 11, 2017
@Intellicode
Copy link
Owner

Nice, that cleans up tests nicely :)

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