jeudi 22 octobre 2020

Jest regex filter not working as expected

I've been learning a little bit of regex recently and one of the most frequent use cases for my day to day use is when I want to filter my tests in jest. The thing is that I've noticed some inconsistences with it. I don't know if I'm doing something wrong or if I should maybe create an Issue in Github to ask about it. An example is when I want to filter the DataAnalysis folder located inside the store.

Using this pattern it says there should be one file that matches

Using this pattern it says there should be one file that matches

But when I press enter it says there are not tests found

But when I press enter it says there are not tests found

Any ideas about it? Is my regex wrong or do they use some different type of matching pattern?

Aucun commentaire:

Enregistrer un commentaire