Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

dedupe tests #2669

Closed
wants to merge 3 commits into from
Closed

dedupe tests #2669

wants to merge 3 commits into from

Conversation

hugomrdias
Copy link
Member

@hugomrdias hugomrdias commented Dec 12, 2019

This PR is part of this OKR #2276 and will dedupe tests as much as possible to interface-core.

dedupe:

  • core
  • cli
    • cli tests will have a follow up PR to change the tests to use yargs to test instead of spawning daemons.
    • this PR adds a couple of comments as a guide to the follow up PRs

refs:
ipfs-inactive/interface-js-ipfs-core#573
ipfs-inactive/js-ipfs-http-client#1200

const out = await ipfs('bitswap unwant ' + key0)
expect(out).to.eql(`Key ${key0} removed from wantlist\n`)
})
// TODO: missing unwant with cid-base arg
Copy link
Member

@achingbrain achingbrain Dec 13, 2019

Choose a reason for hiding this comment

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

There are quite a lot of TODOs being added here - how will they be resolved? By adding tests to these suites or the interface tests?

Copy link
Member Author

@hugomrdias hugomrdias Dec 13, 2019

Choose a reason for hiding this comment

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

everything related to cli logic will be added to js-ipfs cli suite, everything that needed to be extracted to interface-core is already ipfs-inactive/interface-js-ipfs-core#573.

The comments may refer to new tests that need to be added by the follow up PRs but this is only related to the CLI tests.

@hugomrdias hugomrdias closed this Mar 24, 2020
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