Comments (2)
After pinning to 2.1.0 your tests are passing again. Downgrade this dependency π.
from axios-fetch.
- The
devDependency
ava was updated from2.3.0
to2.4.0
.
Your tests are still failing with this version. Compare changes
Release Notes for 2.4.0
Experimental t.try()
assertions
Thanks to the amazing work and patience of @qlonik we're shipping a new assertion! t.try()
lets you perform assertions and decide whether to commit or discard their outcome. All kinds of interesting things can be built on top of this, from fuzzy testers to new test interfaces and more.
We're excited to get this out there, but it's not quite done yet. For now you have to opt in to this new feature. Being opt-in, we may make changes (breaking ones even!) until we feel this is stable.
To opt in, configure AVA with the following:
package.json
:
{ "ava": { "nonSemVerExperiments": { "tryAssertion": true } } }
ava.config.js
:
export default { nonSemVerExperiments: { tryAssertion: true } };
We'd love to hear your feedback. Please join us in this issue: #2250
Also, if you're looking to help out with the remaining issues so that we can ship this without the opt-in, have a look at this project: https://github.com/orgs/avajs/projects/1
Thanks again @qlonik!
Other changes
- We've added the common pitfall of sharing variables across asynchronous tests 49b202f
- We've updated the endpoint testing recipe to focus on the concept, not specific libraries 67e4dea
All changes
Thanks
Thank you @jeremenichelli, @jamesgeorge007, @dongjae93, @qlonik and @tryzniak. We couldn't have done this without you!
Get involved
We welcome new contributors. AVA is a friendly place to get started in open source. We have a great article on getting started contributing and a comprehensive contributing guide.
Commits
The new version differs by 24 commits.
05f077e
2.4.0
ca4eff7
Bump dependencies
67e4dea
Update endpoint testing recipe to focus on the concept, not libraries
4fdb02d
Implement experimental t.try() assertion
782c2d8
Run some tests on Travis still
4c890d9
Add OpenCollective link to README
03c1509
Groundwork to support experimental features
0a5c933
Remove unnecessary flag from tap invocation
e598c30
Detect whether error source is on a different drive (on Windows)
fb0c536
Fix serialize-error tests on Windows with GitHub Actions
53d7fe1
Allow some fixtures to pass linting when XO is installed without lockfile
11771ba
Run CI using GitHub Actions
5538bdc
Replace an indexOf() by includes()
49b202f
Add shared variables & asynchronous tests to common pitfalls
1c81c4b
2.3.0
There are 24 commits in total.
See the full diff
from axios-fetch.
Related Issues (20)
- Form-data not serializing correctly
- buildAxiosFetch not adding X-XSRF-TOKEN header on requests HOT 3
- node-fetch vulnerability HOT 1
- Error fetching and displaying characters from other languages HOT 12
- TypeError: Cannot read properties of undefined (reading 'name') HOT 1
- Support 204 no-content for node 18
- Unable to integrate with Angular
- Not working in IE11 HOT 5
- An in-range update of nock is breaking the build π¨ HOT 2
- axios-fetch won't let me intercept 401 failed requests HOT 3
- 1.5.0 Release breaks Apollo HOT 4
- `.finally()` is not a function HOT 5
- GET requests have data as string "undefined"
- Error raised if someone goes offline and attempts a request HOT 5
- Unable to import useAxiosFetch as an ES6 module HOT 1
- Promise<Response>' is not assignable to type 'AxiosFetch'
- Abort requests via FetchInit signal abort HOT 1
- `fetch`Β should also accept `Request` object
- Do not require `node-fetch`Β for browser targets HOT 1
- Update package.json types to reference index.d.ts HOT 7
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 axios-fetch.