juergba on inspect-timeout
fix: disable of timeout order o… additional test (compare)
setup(...)function part of the mocha test library, I am looking at some code 4yo, and It seems this is part of mocha?
"test:unit": "TS_NODE_PROJECT='components/src/tsconfig.mocha.json' mocha -r ts-node/register components/src/**/*.spec.ts"
components/src/list-filter/list-filter-viewModel.ts:6:35 - error TS2307: Cannot find module 'ojL10n!./resources/nls/list-filter-strings'. 6 import * as componentStrings from 'ojL10n!./resources/nls/list-filter-strings';
loadFilesinto an async (promise returning) function, and, from what I'm seeing, all the run* stack too. This shouldn't be a problem, as Mocha supports Node>=8, which even has
async/awaitsupport, but it is a significant change (which I would be glad to implement). Not sure about browser support for this, though. (does Mocha support IE?)
ojL10n!./resources/..definitely the right path name?
ojL10n!.does not look right as a lib.
ERROR: Cannot find module 'coffee-coverage/register'. coffee-coverage is a dev dependency, and per the tutorial I changed
--require coffeescript/register. Any help is appreciated!
Can anyone explain to me how can I use a config.file to control some variables outside my Mocha file?
I saw the example on github - https://github.com/mochajs/mocha-examples/tree/master/async-setup-with-file
It seems really simple to build the config.file, but i want to be able to use the variables in my Mocha test.