Checklist
Actual behavior
Node v18.12.0
.mocharc.js
{
"require": [
"ts-node/register"
],
"node-option": [
"experimental-specifier-resolution=node",
"loader=ts-node/esm",
"no-warnings"
],
"extensions": [
"ts"
],
"spec": [
"**/test/**/*.spec.ts",
"**/docs/**/*.spec.ts"
],
"watch-files": [
"src",
"modules",
"examples"
],
"ignore": [
"**/node_modules/**",
"**/dist/**"
],
"timeout": "10000"
}
tsconfig.json
{
"compilerOptions": {
"strict": true,
"outDir": "dist",
"allowJs": true,
"checkJs": true,
"target": "ES2022",
"module": "ES2022"
}
}
Get output
✖ ERROR: TypeError: Could not load reporter "/Users/admin/git/mocha-vscode/out/reporter/fullJsonStreamReporter.js":
../mocha-vscode/out/reporter/fullJsonStreamReporter.js(7,20): error TS7006: Parameter 'to' implicitly has an 'any' type.
Expected behavior
Test are running successfully
Minimal, Reproducible Example
Use provided mocharc.json and tsconfig.json and try to debug or run a test
Output
`
✖ ERROR: TypeError: Could not load reporter "/Users/admin/git/mocha-vscode/out/reporter/fullJsonStreamReporter.js":
../mocha-vscode/out/reporter/fullJsonStreamReporter.js(7,20): error TS7006: Parameter 'to' implicitly has an 'any' type.
`
Plugin Version Details
131c2c6
VS Code Version Details
1.87.0
019f4d1419fbc8219a181fab7892ebccf7ee29a2
arm64
Further details
This might be a configuration issue but I have not yet found good options to circumvent this. Also tried to recompile this extensions with typings for the reporter but that did not help either
Checklist
Actual behavior
Node v18.12.0
.mocharc.js
{ "require": [ "ts-node/register" ], "node-option": [ "experimental-specifier-resolution=node", "loader=ts-node/esm", "no-warnings" ], "extensions": [ "ts" ], "spec": [ "**/test/**/*.spec.ts", "**/docs/**/*.spec.ts" ], "watch-files": [ "src", "modules", "examples" ], "ignore": [ "**/node_modules/**", "**/dist/**" ], "timeout": "10000" }tsconfig.json
{ "compilerOptions": { "strict": true, "outDir": "dist", "allowJs": true, "checkJs": true, "target": "ES2022", "module": "ES2022" } }Get output
Expected behavior
Test are running successfully
Minimal, Reproducible Example
Use provided mocharc.json and tsconfig.json and try to debug or run a test
Output
`
✖ ERROR: TypeError: Could not load reporter "/Users/admin/git/mocha-vscode/out/reporter/fullJsonStreamReporter.js":
../mocha-vscode/out/reporter/fullJsonStreamReporter.js(7,20): error TS7006: Parameter 'to' implicitly has an 'any' type.
`
Plugin Version Details
131c2c6
VS Code Version Details
1.87.0
019f4d1419fbc8219a181fab7892ebccf7ee29a2
arm64
Further details
This might be a configuration issue but I have not yet found good options to circumvent this. Also tried to recompile this extensions with typings for the reporter but that did not help either