connor4312 / nodejs-testing

VS Code integration for node:test native tests
MIT License
43 stars 6 forks source link

Handle custom pattern #25

Closed jlecordier closed 4 months ago

jlecordier commented 5 months ago

I want to be able to call my files *.spec.ts instead of *.test.ts.

The node runner allows for custom patterns.

(I might do a PR if I have time and the task is not too complex)

jlecordier commented 5 months ago

Okay, so a first step is around here : https://github.com/connor4312/nodejs-testing/blob/0d487caecb1af1bce25573ac704fa020b185555c/src/controller.ts#L29-L34

jlecordier commented 4 months ago

Thanks @connor4312 !