adrigzr / neotest-mocha

Neotest runner for Mocha test framework
9 stars 9 forks source link

feat: allow to use backticks in test messages #6

Closed cenietob closed 1 year ago

cenietob commented 1 year ago

What?

Allow to use backticks in the message test of the it

Why?

Right now the tests that use backticks in the description of test are not matched by the discover_position function.

When you have descriptions of the test too big you may use ` instead of " or ', this in order to separate in multiple lines the text.

How?

Based on the PR of neotest-vitest to accomplish the same

https://github.com/marilari88/neotest-vitest/pull/3/files

Testing?

yes

Screenshots (optional)

image

Anything Else?

Thank to https://github.com/marilari88 for doing this in the other plugin

adrigzr commented 1 year ago

@cenietob Thanks for the contribution!