gitKrystan / prettier-plugin-ember-template-tag

A prettier plugin for formatting Ember template tags
MIT License
22 stars 12 forks source link

Add test with some weird behavior found in my app :upside_down_face: #50

Closed NullVoxPopuli closed 1 year ago

NullVoxPopuli commented 1 year ago

How do I get this included with the test suite? when running locally, I could not discern that this new test file was used

gitKrystan commented 1 year ago

Thanks for helping!

Hopefully this is useful: https://github.com/gitKrystan/prettier-plugin-ember-template-tag/blob/main/CONTRIBUTING.md#tests

Run pnpm test:run -u to update the snapshots. Since the fix isn't in place yet, edit the snapshots file after generation to whatever you think the output should be.

Also, LMK if there are any additions to CONTRIBUTING.md that would make this clearer.