Comments (3)
The 2 test errors above are caused by fetch
function which fail to fetch files and throw error in my env.
I think fetch
should be mocked and tests the cases that fetch
throws errors or not
from ipns-site-generator.
The 2 test errors above are caused by
fetch
function which fail to fetch files and throw error in my env.I think
fetch
should be mocked and tests the cases thatfetch
throws errors or not
Great catch! Yes fetch
should definitely be mocked to be independent of the local network.
from ipns-site-generator.
setTimeout to big number can be a workaround. But the tests still failed and take too much time:
from ipns-site-generator.
Related Issues (15)
- Revise IPFS publishing flow for Circle articles HOT 1
- Web Monetization meta tag in IPFS stored HTML
- No file size or domain check on asset upload
- analytic script for IPFS deliver
- [Formatter] extend matters-html-formatter to be able to bundle any arbitrary multiple files content HOT 4
- Correct timestamp parameter passing to IPFS hash generator
- ipfs article links not working if accessed via single article IPFS entry HOT 1
- Revise ipns-site-generator for Matters.Town
- Publish ActivityPub data into IPNS directory HOT 2
- fix imagedelivery relative path image inlining
- refactor API calls in ipns-site-generator HOT 1
- Story: research on ActivityPub
- Story: API & infra adjustment
- Research on ActivityPub HOT 2
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 ipns-site-generator.