If you are using IntelliJ IDEA and working on test cases and if you want to run test cases in a particular file or a selected test case then you need to follow the following steps.
Go to Preferences -> Go to Plugin section -> Search for Karma -> Hit Apply and then OK. It will start indexing and Run test icon will appear with the line number.
