Here is a possible solution:
Create a setting pointing to your config file (e.g. in .vscode/settings.json):
{
"jasmineExplorer.config": "jasmine.json",
...
}
In the jasmine.json file, you tell the explorer where the specifications are. Here is an example:
{
"spec_dir": "site/dist/tests",
"spec_files": ["**/*[sS]pec.js"],
"helpers": ["helpers/**/*.js"],
"random": false,
"seed": null,
"stopSpecOnExpectationFailure": false
}
Answer from Willem on Stack OverflowVisual Studio Marketplace
marketplace.visualstudio.com › items
Jasmine Test Explorer - Visual Studio Marketplace
Extension for Visual Studio Code - Run your Jasmine tests in the Sidebar of Visual Studio Code
Top answer 1 of 2
10
Here is a possible solution:
Create a setting pointing to your config file (e.g. in .vscode/settings.json):
{
"jasmineExplorer.config": "jasmine.json",
...
}
In the jasmine.json file, you tell the explorer where the specifications are. Here is an example:
{
"spec_dir": "site/dist/tests",
"spec_files": ["**/*[sS]pec.js"],
"helpers": ["helpers/**/*.js"],
"random": false,
"seed": null,
"stopSpecOnExpectationFailure": false
}
2 of 2
4
The Test Explorer plugin will not show any test if an error is encountered. To check if there were any errors during the compilation of your tests, go to the Jasmine Explorer Log in the Output tabs of VSCode (View -> Output)

You can see that in my case I was having an issue with module resolution that I fixed by tweaking tsconfig.json.
Videos
01:35
Introduction to Jasmine & Karma | Angular Unit Testing Frameworks ...
05:59
Setting Up Jasmine from scratch | Unit testing tutorial - YouTube
02:40
Introduction to the Jasmine testing suite | Unit testing tutorial ...
01:54
Jasmine Test Adapter for Visual Studio - YouTube
05:01
Running Jasmine JavaScript unit test from Visual Studio Test Explorer ...
07:01
My Node.js Visual Studio Code setup with Jasmine tests and debugging ...
GitHub
github.com › hbenl › vscode-jasmine-test-adapter
GitHub - hbenl/vscode-jasmine-test-adapter: Jasmine Test Adapter for the VS Code Test Explorer · GitHub
Starred by 21 users
Forked by 20 users
Languages TypeScript
Mortenhoustonludvigsen
mortenhoustonludvigsen.github.io › JasmineNodeTestAdapter
Jasmine Node Test Adapter – A base library to create Visual Studio test explorer adapters for javascript
A Visual Studio test explorer adapter for running Jasmine specs in Node.js
GitHub
github.com › hbenl › vscode-jasmine-test-adapter › issues › 12
Test Explorer window not showing Jasmine tests · Issue #12 · hbenl/vscode-jasmine-test-adapter
July 5, 2018 - I installed jasmine using npm. The Test Explorer window does not find any tests. Neither does the code lens Run/Debug functionality appear in any of the spec files. When I open the SpecRunner.html file that is part of the project, the test output is generated without any problems.
Author MrClyfar
Mortenhoustonludvigsen
mortenhoustonludvigsen.github.io › KarmaTestAdapter
Karma Test Adapter – A Visual Studio test explorer adapter for Karma
This extension integrates Karma - Spectacular Test Runner for JavaScript with the test explorer in Visual Studio 2013 and Visual Studio 2015 Preview / CTP. This extension is built using JsTestAdapter. This test adapter runs tests in browsers using Karma. If you need to run tests in Node.js you might be interested in the Jasmine Node Test Adapter.
Mortenhoustonludvigsen
mortenhoustonludvigsen.github.io › JsTestAdapter › CreatingATestAdapter
Creating a Visual Studio Test Explorer adapter with JS Test Adapter – JS Test Adapter – A base library to create Visual Studio test explorer adapters for javascript
Create a new "HTML Application with TypeScript" in Visual Studio 2013 called "JasmineNodeJsTestAdapter" (make sure to check Create directory for solution). Once this is done, the solution explorer should look something like this:
Jasmine
jasmine.github.io
Jasmine Documentation
Jasmine is a framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It runs in browsers and in Node.js.
Open VSX Registry
open-vsx.org › extension › hbenl › vscode-jasmine-test-adapter
Jasmine Test Explorer
We cannot provide a description for this page right now
Visual Studio Marketplace
marketplace.visualstudio.com › items
Karma Test Explorer (for Angular, Jasmine, and Mocha) - Visual Studio Marketplace
Visual Studio Code>Testing>Karma Test Explorer (for Angular, Jasmine, and Mocha)New to Visual Studio Code?
GitHub
github.com › jasmine › jasmine
GitHub - jasmine/jasmine: Simple JavaScript testing framework for browsers and node.js · GitHub
Starred by 15.8K users
Forked by 2.2K users
Languages JavaScript 98.1% | CSS 1.2%
Testim
testim.io › blog › jasmine-js-a-from-scratch-tutorial-to-start-testing
Jasmine unit testing JS: A guide to start testing from-scratch
June 16, 2025 - Now you know how to set up Jasmine, the components of a Jasmine test suite, and the basic syntax to write unit tests for your JavaScript project. Before you know it, with a little practice, writing tests will feel like second nature. In the meantime, don’t forget to explore other kinds of tests too!