Comments (2)
It looks like jest-junit has
includeConsoleOutput
option https://github.com/jest-community/jest-junit/?tab=readme-ov-file#configuration so we can do the same (though it's opt-in in their case).Btw, assuming you're using Circle CI from the screenshot in the last issue #5603, can you show how it looks on their UI? I'm wondering whether the console output in junit is too bothering in general.
Hi.
Thank you for fixing previous issue with serialized errors, now it works fine!
![Screenshot 2024-05-03 at 11 02 25](https://private-user-images.githubusercontent.com/40956346/327706075-628f310b-2d59-4645-a6d7-af925270343b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExOTk3MzAsIm5iZiI6MTcyMTE5OTQzMCwicGF0aCI6Ii80MDk1NjM0Ni8zMjc3MDYwNzUtNjI4ZjMxMGItMmQ1OS00NjQ1LWE2ZDctYWY5MjUyNzAzNDNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA2NTcxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhZDkzMzJlN2VkMThiZjQ5YzU1MDcyOGRkM2Q0NjU4MmVkZjBhMTFmMGIzNmE3MWJjMTQ2ODMxZDI5NTlhZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SWtVyhUn6lah_pJ4z_jigggdEXCuZ_sRG10-xE23OrQ)
And few examples with unwanted console.logs in JUnit report (CircleCI)
![Screenshot 2024-05-03 at 12 03 08](https://private-user-images.githubusercontent.com/40956346/327706257-587df9f8-dddd-482c-a2dd-3661230073a5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExOTk3MzAsIm5iZiI6MTcyMTE5OTQzMCwicGF0aCI6Ii80MDk1NjM0Ni8zMjc3MDYyNTctNTg3ZGY5ZjgtZGRkZC00ODJjLWEyZGQtMzY2MTIzMDA3M2E1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA2NTcxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM3YTg5ZDU2NjNiN2JhYmRlYmJiYzE2ODExMTRhZTlmYWFjYTU5ODNkMjdhNDQ4NDc1OTk0NWZjZmNjODJmYTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.MuCkI8hUC-A7dLFnrCfEWXFOILsP5x5rED5mDPEF2X0)
![Screenshot 2024-05-03 at 12 07 43](https://private-user-images.githubusercontent.com/40956346/327706283-ac43a007-d2c5-429a-93b2-f0301db34554.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExOTk3MzAsIm5iZiI6MTcyMTE5OTQzMCwicGF0aCI6Ii80MDk1NjM0Ni8zMjc3MDYyODMtYWM0M2EwMDctZDJjNS00MjlhLTkzYjItZjAzMDFkYjM0NTU0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE3VDA2NTcxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEzOWUzNDExMTAwZTJhNGQzMGM3ZmMyYTgzZWQ2ODM4MjBlNWQ0NDMxNzJlYzM0MGQ3M2FhMTc4MzYyZTBhNWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.i5xTuG4qC3PPFvk68Hqb5rVikAp5DdcSX-BNnFfWE3E)
from vitest.
It looks like jest-junit has includeConsoleOutput
option https://github.com/jest-community/jest-junit/?tab=readme-ov-file#configuration so we can do the same (though it's opt-in in their case).
Btw, assuming you're using Circle CI from the screenshot in the last issue #5603, can you show how it looks on their UI? I'm wondering whether the console output in junit is too bothering in general.
from vitest.
Related Issues (20)
- module mock failure on react-router-dom in browser mode HOT 2
- Snapshots modify input by unexpectedly trimming and adjusting indentation
- Unable to npm install @vitest/ui HOT 1
- stack trace incorrect for unhandled errors during test run in browser mode
- expect(...).toMatchSnapshot has typescript error since v2 of vitest HOT 2
- "TypeError: Cannot create proxy with a non-object as target or handler" when importing node module with a Proxy
- stack trace incorrect when react component throws with istanbul coverage HOT 1
- `@vitest/web-worker` didn't transform `.wasm?url` in worker import HOT 11
- Custom equality testers are not properly relayed to typed arrays HOT 2
- correct type for `import { defineConfig } from 'vitest/config';` with `"type": "commonjs"` HOT 1
- Pass down context to `onTestFinished` and `onTestFailed` instead of test result
- Some coverage.exclude glob patterns not matching for vitest 2 workspace HOT 4
- TypeError: Unknown file extension ".css"
- `tsc` with `"vitest"` version 2 requires `"@types/node"` to run without errors HOT 2
- Add 'coverageLinkUrl' option in Vitest UI for custom coverage report links
- Improve Vitest Public API
- Browser docs refer to defineCommand function which doesn't exist
- False negative with typecheck enabled
- `Error: Failed to load url` when dynamic importing js files generated during tests with relative path
- Istanbul: Coverage ignore doesn't work for default in switch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vitest.