Comments (8)
I want to generate the snapshots like this: last donut chart. Kindly suggest if I am doing something wrong.
from jest-stare.
@dkelosky Could you please help with the issue mentioned above?
from jest-stare.
hi @vikasg52 - I think you'll have to add a snapshot test to get that type of chart. For example:
it("should match some snapshot", () => {
expect({ some: "data"}).toMatchSnapshot();
});
Can you give something like that a try?
from jest-stare.
from jest-stare.
No problem, is it ok to close? Is this working for you now?
from jest-stare.
Actually- I tried the approach but anyhow it din't work for me. I am using frisby framework seems like it is not supported with that:
const frisby = require('frisby');
const test= require('snapshot-diff/extend-expect');
const test1 = frisby.Joi;
from jest-stare.
I can see how the snapshot method is not part of the way expect
is called in your example. However, since it's built on jest, it seems that it should work. Did you try the example I shared verbatim?
from jest-stare.
Stale issue message
from jest-stare.
Related Issues (20)
- Include Console output? HOT 2
- Show relative path of test file HOT 4
- Why do you have tag mochawesome in your repo? HOT 3
- CHANGELOG missing HOT 2
- Collapsible boxes don't open (2.0) HOT 8
- Creating directory fails HOT 4
- Question: ERR_INVALID_ARG_TYPE HOT 13
- Can't install jest-stare HOT 4
- Action Required: Fix Renovate Configuration
- Bootstrap 5 Incompatible HOT 2
- Need help on Jest Reporting in Azure DevOps Pipeline HOT 2
- Dependency Dashboard
- Adding jest-stare causes test runner to loop and run no tests HOT 7
- `/doc` is default in `.yarnclean` HOT 2
- Multiple failed snapshots in single test/it issue HOT 2
- Files with square brackets in filepath can't be expanded HOT 7
- Enhancement request: Simple dark mode HOT 1
- moment.js HOT 1
- Report Date HOT 1
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 jest-stare.