Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Re-enable interface tests and get them succeeding (#83)
* chore: sync with ipfs/test/interface-http-go.js see: https://github.com/ipfs/js-ipfs/blob/6ae5eb7da33adfdee70c7edc09a0f644d5347718/packages/ipfs/test/interface-http-go.js * chore: install multiple go-ipfs versions `ipfs` uses `[email protected]`, which means the tests we copied will not work the same. See https://github.com/ipfs/js-ipfs/blob/6ae5eb7/packages/ipfs/package.json#L93 Adding multiple go versions in this commit. Will be facilitating the use of these versions in the next commit * fix: .bitswap.wantlist before test * fix: .bitswap.wantlistForPeer before * chore: enable running interface tests against multiple kubo versions * fix: bitswap ipfs spawn types * fix: dht utils ipfs api usage * fix: dag.get test * fix: dht tests * fix: .id test * fix: pinning service tests * fix: misc tests * fix: pinning tests * fix: .ping tests * fix: .swarm.peers passes * fix: .swarm.addrs passes * fix: .swarm.disconnect passes * fix: all tests are passing in node some additional tests were skipped, but node tests are succeeding * fix: browser interface tests are passing or skipped * fix: webworker tests pass * feat: fix webworker tests * chore: code cleanup * chore: commentary and code cleanup * fix: update package-lock.json * chore: update current go-ipfs to v0.17 * chore: 'should compress a directory as a tarball' actually passes * Revert "chore: 'should compress a directory as a tarball' actually passes" This reverts commit 1efca00. * use lts on test node * fix: .pubsub.subscribe tests * chore: actually wait for factory cleanup * chore: fix lint and package-lock * fix: dep-check * chore: skip .refs tests @see #77 * chore: remove root tests not implemented in kubo * chore: add lint:fix script * chore: consolidate eslint configs and add mocha plugin * chore: fix mocha lint failures * chore: remove check for cidv0 from block.put * chore: attempt to fix hang after test 'restricts the number of concurrent connections' was hanging after running. Some things were not tied up. @see https://github.com/ipfs/js-kubo-rpc-client/actions/runs/3642110903/jobs/6148859075 * chore: skip broken test @see https://github.com/ipfs/js-kubo-rpc-client/tree/investigateConcurrencyTest * fix: ipfs libs do not work with node LTS fetch * fix: .cat beforeAll hook * fix: .get beforeAll * chore: update logger name * fix: .get test 'should get a directory' grouped files/dirs in describe * chore: add dev helper scripts * fix(test): should put a buffer, using defaults * chore: remove currently broken typedocs * fix(test): should error when removing non-existent blocks * fix(test): should import car with roots but no blocks * chore: add more debug output to test * fix(test): should respect timeout option when removing a block * chore(lint): fix lint failure * fix(test): should import car with roots but no blocks * fix(tests): .dag tests * fix(test): should fail to find other peer if peer does not exist * chore(test): disable opsPerSec expectation * test(chore): supports concurrent writes * fix(tests): .pin.remote.ls * Significant DX improvement * Significant setup improvement * Significant speed improvement * chore(lint): fix jsdoc complaint * chore(test): increase .pin.remote.rm & .rmAll timeouts * fix(test): should receive multiple messages * fix(test): should receive messages from a different node on lots of topics * fix(test): should unsubscribe individual handlers * fix(test): .pubsub.peers * chore: attempt to fix 'should list "queued" pins' see https://github.com/ipfs/js-kubo-rpc-client/actions/runs/3662612448/jobs/6191849862 * fix(lint): unused import * chore: attempt to clear pins prior to .pin.remote.ls 'after adding pins' group * chore(tmp): don't fail fast in CI to ease debugging * fix(test): .pubsub.subscribe significant overhaul of tests. they're much more stable now * fix(lint): build passes * fix(test): .pin.remote.ls * chore: cleanup .aegir and add more types * chore: reduce duplication in js-test-and-release workflow * chore(tmp): temporarily bail=false and fail-fast=false for non-node targets * chore: remove tests for things not implemented in kubo * feat: unskip should resolve IPNS link tests * fix(test): .get directories * chore(test): skip should default to blocking pin on chrome * fix(lint): build succeeds * chore(test): unskip should pin dag-cbor * chore(test): increase 'with sharding' test timeout see #83 (comment) * chore: remove old go-ipfs version testing support * fix(test): node/request-api - trailer headers * fix: test running when not in node * chore: move byCID function to utils * fix(test): 'should import car with roots but no blocks' succeeds consistently * fix(test): re-add 'should export a chunk of a file' * fix(test): test 'should list peers this node is connected to' specifics * chore: address the rest of the PR comments Co-authored-by: Henrique Dias <[email protected]>
- Loading branch information