You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { deepEqual } from 'assert';
^
SyntaxError: Unexpected token {
at Module._compile (internal/modules/cjs/loader.js:720:22)
at Module.m._compile (d:\GitHub\listManager\node_modules\ts-node\src\index.ts:530:23)
at Module._extensions..js (internal/modules/cjs/loader.js:788:10)
at Object.require.extensions.<computed> [as .ts] (d:\GitHub\listManager\node_modules\ts-node\src\index.ts:533:12)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at d:\GitHub\listManager\node_modules\mocha\lib\mocha.js:334:36
at Array.forEach (<anonymous>)
at Mocha.loadFiles (d:\GitHub\listManager\node_modules\mocha\lib\mocha.js:331:14)
at c:\Users\danig\.vscode-insiders\extensions\maty.vscode-mocha-sidebar-0.22.2\lib\worker\findtests.js:86:15
at f (c:\Users\danig\.vscode-insiders\extensions\maty.vscode-mocha-sidebar-0.22.2\node_modules\once\once.js:25:25)
at Glob.<anonymous> (c:\Users\danig\.vscode-insiders\extensions\maty.vscode-mocha-sidebar-0.22.2\node_modules\glob\glob.js:151:7)
at Glob.emit (events.js:203:13)
at Glob._finish (c:\Users\danig\.vscode-insiders\extensions\maty.vscode-mocha-sidebar-0.22.2\node_modules\glob\glob.js:197:8)
cant get tests Error: Mocha sidebar: Process exited with code 4294967295. See Mocha output for more info.
Steps to Reproduce
I dont know how to reproduce it.
Expected Results
List my typescript test in the sidebar. Like the command "npm test" or "mocha" both works on my side.
I give my repo as example when this issue is not easy to fix.
The text was updated successfully, but these errors were encountered:
DaniGTA
changed the title
side-bar: cant get tests Error: Mocha sidebar: Process exited with code 4294967295. See Mocha output for more info.
side-bar: cant get tests Error: Mocha sidebar: Process exited with code 4294967295.
Nov 22, 2019
The message side-bar: cant get tests Error: Mocha sidebar: Process exited with code 4294967295. See Mocha output for more info. means mocha cannot compile the test code. Although a better message should be implemented, the problem is the compilation error.
I cannot reproduce, but I don't have --require test/tshook.js nor "mocha.options". In my settings.json I have only:
Description
Error thrown when trying to debug mocha:
Steps to Reproduce
I dont know how to reproduce it.
Expected Results
List my typescript test in the sidebar. Like the command "npm test" or "mocha" both works on my side.
Actual Results
Gives a error.
Settings file
Mocha opts file:
tshook.js file (tests use another tsconfig):
tsconfig.json:
Versions
OS version
Example for reproducing
I give my repo as example when this issue is not easy to fix.
The text was updated successfully, but these errors were encountered: