digitalbazaar / digitalbazaar/http-client

Use local server for testing.

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Some error tests were using https://dog.ceo, for reasons I don't know. That site changed its output and broke the tests. After trying a few sites, it's now using https://httpstat.us/. This code should be changed to start up and test against a local server with known output.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the error tests that currently call dog.ceo or httpstat.us and read the project’s test entry point. Replace the external dependency with a local server whose output is known, then run the error-test suite to confirm it passes without contacting those sites.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.