Comments (2)
That has all the sense, especially taking in mind that the relative error is sometimes more interesting than the absolute one, what is your proposal for the api?
from jest-matcher-deep-close-to.
I'm not sure! Trying to think of a term that is short but also distinguishes between absolute and relative approximation. Maybe is relatively close to(target, percecntageDeviation)... Been meaning to look for equivalent APIs in other testing libraries
from jest-matcher-deep-close-to.
Related Issues (13)
- The last state of the master is not released, yet. HOT 1
- Add type definition file to the output HOT 6
- Show more context to where the error is HOT 3
- Add changelog
- Ambient jest.d.ts not visible from ./lib/index.d.ts HOT 1
- Typed arrays dont seem to work in newer version? HOT 2
- Support setup via jest.config.js HOT 3
- Unexpected difference from toBeCloseTo HOT 1
- Merge this repository into jest HOT 1
- Separate in functions for each type
- Allow comparison of functions HOT 4
- support all Iterables
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-matcher-deep-close-to.