дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-27 04:56:08 +02:00
Mocha runs showed no test tree, and single tests ran with Jest's `-t`. A `package.json` script that runs `mocha` is now a test configuration with `testRunner: "mocha"`. Test runs import the IDE's hook (`mochaHook.js`, a `data:` URL in `NODE_OPTIONS`), which prints a record per finished test (file, suite chain, status, duration, declaration line, error) next to the run's own reporter; the records become the tree and are hidden from the console. Gutter icons, Rerun Failed Tests and running selected tests use Mocha's own `--grep`. New fixture `fixtures/mocha-app`, run by `smoke/run.test.ts` in the TypeScript job. Closes #5153 Co-authored-by: wildcatDownstairs <[email protected]>
14 рядки
273 B
JSON
14 рядки
273 B
JSON
{
|
|
"name": "openidea-fixture-pricing",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "OpenIDEA QA fixture: Mocha specs for a small pricing module",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "^10.8.0"
|
|
}
|
|
}
|