Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

fix: fix electron renderer tests and a couple more bugs #1105

Merged
merged 49 commits into from
Sep 17, 2019

Conversation

hugomrdias
Copy link
Contributor

@hugomrdias hugomrdias commented Sep 13, 2019

  • temp fix for electron renderer until ky-universal is fixed
  • Blob can accept Buffer directly
    • Buffer.buffer triggered a super weird bug in electron renderer
  • enable a bunch of tests in the browser
  • xvfb-run makes electron go crazy
  • detect-node needs to be removed everywhere and ipfs-utils/src/env.js should be used
  • If you mix promises and callbacks inside, call the callback with setImmediate

src/add/form-data.js Show resolved Hide resolved
test/interface.spec.js Outdated Show resolved Hide resolved
test/interface.spec.js Outdated Show resolved Hide resolved
.aegir.js Outdated Show resolved Hide resolved
hugomrdias added a commit to ipfs-inactive/interface-js-ipfs-core that referenced this pull request Sep 16, 2019
BREAKING CHANGE: swarm tests need promise based setup check PRs below

the following PRs add support async setup:
ipfs-inactive/js-ipfs-http-client#1105
ipfs/js-ipfs#2428
Copy link
Collaborator

@achingbrain achingbrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hugomrdias hugomrdias changed the title fix electron renderer tests and a couple more bugs fix: fix electron renderer tests and a couple more bugs Sep 17, 2019
@hugomrdias hugomrdias merged commit 1f36b5e into master Sep 17, 2019
@hugomrdias hugomrdias deleted the fix/fix-electron branch September 17, 2019 11:07
hugomrdias added a commit that referenced this pull request Sep 17, 2019
temp fix for electron renderer until ky-universal is fixed
Blob can accept Buffer directly
Buffer.buffer triggered a super weird bug in electron renderer
enable a bunch of tests in the browser
xvfb-run makes electron go crazy
detect-node needs to be removed everywhere and ipfs-utils/src/env.js should be used
If you mix promises and callbacks inside, call the callback with setImmediate
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants