Jump to Tests
Switch between the code and the test file.
Features
On MacOS, press Shift+Cmd+T
.
On Windows / Linux, press Shift+Ctrl+T
.
Extension Settings
You can add your own formats by editing jump-to-tests.rules
.
Here"s what it would look like to add Ruby on Rails support:
"jump-to-tests.rules": [
{
"extensions": [
{ "ext": ".ts", "testExt": [".test.ts", ".test.tsx"] },
{ "ext": ".tsx", "testExt": [".test.tsx", ".test.ts"] },
],
"srcDirs": ["src", "client", "server"],
"testDirs": ["src/test", "src/__tests__", "tests/client", "tests/server", "test", "__tests__"]
}
]
Release Notes
See CHANGELOG.md.
Similar Projects