Can't navigate between test/subject in JavaScript

I'm trying to enable test <--> subject navigation per instructions in Creating JavaScript Unit Tests.

My dir structure is simple and seems to match the instructions.

src (marked as source)
  prodFile.js
test (marked as test)
  prodFile.Test.js

Yet the Navigate -> Test menu item is greyed out and I can't navigate between those two files.
How should I solve this problem?

In addition, how can I get more flexability with my directory and file naming structure. For example, I'd like to be able to run the following layout, but I don't see any place I can configure what test/subject navigation is supposed to look for.

app
  controllers
    SomeController.js


test
  controllers
    SomeController_spec.js
     

3 comments
Comment actions Permalink

Navigate/Test is not currently supported for JavaScript. Pleadse vote for https://youtrack.jetbrains.com/issue/WEB-3865 to be notified on any progress

0
Comment actions Permalink

Thank you!

Is this something the community can implement or do we have to wait for JetBrains to prioritize?

0
Comment actions Permalink

Seems you have to wait until it's fixed by JetBrains:(


0

Please sign in to leave a comment.