This repository was archived by the owner on Oct 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: test bundle code rather than all of ipfs (#15)
its very mock heavy, but our code depends on _all_ the possible ways of connecting to ipfs, our tests become horrible without some judicious mocking out of dependencies. It means we can now focus our tests on the logic of this module rather than elaborate ipfs init tests. Also our tests no longer fail if you happen to be running an ipfs daemon which is nice. Also adds option to try accessing ipfs directly from companion seperate from window.ipfs, and will try js-ipfs-api on the current origin before trying the default value License: MIT Signed-off-by: Oli Evans <oli@tableflip.io>
- Loading branch information
Showing
17 changed files
with
4,623 additions
and
8,274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
"modules": false | ||
}], | ||
"react-app" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.