include stdout into the detail-float
All checks were successful
tests / test (push) Successful in 7s
All checks were successful
tests / test (push) Successful in 7s
This commit is contained in:
@@ -12,6 +12,7 @@ Main plugin: https://gitea.mschirmer.com/m13r/test-samurai.nvim
|
||||
- Builds `npx jest` commands for nearest, file, all, and failed-only runs.
|
||||
- Streams results via a custom Jest reporter using `onTestCaseResult`.
|
||||
- Uses `--testLocationInResults` for Quickfix and `<leader>o` support.
|
||||
- Captures `console.*` output per test case and shows it in the detail float.
|
||||
|
||||
## Installation (lazy.nvim)
|
||||
|
||||
@@ -60,3 +61,4 @@ Use the standard `test-samurai.nvim` commands (e.g. `TSamNearest`, `TSamFile`, `
|
||||
|
||||
- The reporter lives at `reporter/test_samurai_jest_reporter.js` and is loaded via `--reporters`.
|
||||
- Test names are reported as `Describe/It` for grouping in the listing.
|
||||
- Stdout capture uses `reporter/test_samurai_jest_stdout.js` via `--setupFilesAfterEnv` and tags output as `TSAMURAI_STDOUT`.
|
||||
|
||||
Reference in New Issue
Block a user