node-tdd
node-tdd copied to clipboard
Not displaying the tests passed and % coverage
The results are not displayed in the status bar. I have restarted everything NodeTDD extension, VS Code and Laptop.
I am using the following :
- macOS High Sierra Version 10.13.6
- VS Code Version 1.29.1 (1.29.1)
- Node Version : 11.2.0
- Mocha Version : 5.2.0
- NodeTDD version : 0.2.4
The bug screen shot :
Zipped Project Folder is also attached for reference :
Did you change Settings -> Glob
? It is {src,test}/**/*.{js,ts,jsx,tsx}
by default
Hi,
Thanks for the extension !
On the following setup it works !! BUT it is very sensitive !! on the percent part so source control it very carefully (check very often and revert quickly) At the moment I cannot get this extension and ESlint to work at the same time
Here is my setup macOS Catalina Version 10.15.3 VS Code Version 1.43.1 Node.js v13.8.0 NodeTDD version : 0.2.4
jest.config.js (full file here)
module.exports = {
roots: ["<rootDir>/test"],
testMatch: ["**/*.test.ts"],
transform: {
"^.+\\.tsx?$": "ts-jest",
},
reporters: ["jest-tap-reporter"],
collectCoverage: true,
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
},
coverageReporters: ["tap"],
};