I am trying to run some test cases using mocha on my project but, I am not able to run any test and the project contains some compilation errors.
Do we have some option or flag from which we can ingore or suppress errors and run the test cases
script command:
"test": "mocha --timeout 10000 -r ts-node/register test/*.ts"
tsconfig.json
"compilerOptions": {
"outDir": "./dist",
"allowJs": true,
"target": "es2017",
"skipLibCheck": true,
"strict": false,
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true,
"noImplicitUseStrict" : true,
"module": "commonjs",
"noImplicitAny" : false,
"skipDefaultLibCheck": true,
"noStrictGenericChecks" : true,
"alwaysStrict" : false,
},
"include": [
"src//**/*"
]
}
Please help !!!!