Hello @Juraj Jakubov ,
Welcome to Microsoft Q&A forum.
Please try to rebuild the solution/projects and check again.
For TypeScript, please also check this document: Unit testing JavaScript and TypeScript in Visual Studio
For TypeScript, do not use the outdir or outfile option in tsconfig.json, because Test Explorer won’t be able to find your unit tests.
For the option that you mentioned => Test Discovery | Discover tests in real time from C# and Visual Basic .NET source files => it’s an option of a feature called Real-time test discovery. It only works for the managed languages (C# and Visual Basic) since it’s built using the Roslyn compiler. See this document: Real-time test discovery for more details.
If Test Explorer still doesn’t show the tests, please share us detailed steps to reproduce this issue and check further.
Feel free to let us know the results.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.