Replies: 3 comments 3 replies
-
Unfortunately there is no support for "paths", since we are looking inside files specifically. I can add a feature to look for a path in the url but its not planned for the moment. Also I highly invite you to NOT use this pattern. As a JS advocate, I am always pushing for putting tests alongside source files, just saying. Another possibility for you would be to add a suffix to your test files, such as |
Beta Was this translation helpful? Give feedback.
-
No, you misunderstood, I meant we are looking into files, as in the file system, as opposed to their absolute paths. Currently we don't look for their contents.
Again, I think it could be possible but that would be overkill as there are plenty of languages and frameworks, and doing so for all of them would be a nightmare while usually having the right extension would be sufficient in most cases.
…--
Elior
On 24 Dec 2021, 18:50 +0200, Maxim Sheiko ***@***.***>, wrote:
Forget about "test" folder I mentioned in the beginning.
You said, "we are looking inside files specifically". So when you are looking inside .js files which contain words like "describe", "it", "before" and maybe something else, do you make such file to look like a file with tests or it will look like the other .js files ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
PS: this has been made available since then. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm using Webstorm 2021.3
I'm using "One Dark Theme" as my theme and Atom Material Icons plugin for the icons.
I'd like to have .js files which are under "test" folder to be read. Right now all js files are the same and it's not really convenient.
Is there a way to configure it?
Beta Was this translation helpful? Give feedback.
All reactions