parity: npm/bcrypt is checked against a committed expected file because bcrypt is not an npm dependency

Open Beginner friendly
#15,154 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
Half a day
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
node.js, typescript
Domain
testing-qa

Research direction

Start at tests/parity/npm/bcrypt/test_gap_bcrypt_hash_async.ts and the committed oracle output tests/parity/expected/test_gap_bcrypt_hash_async.txt, then find where the parity harness declares its npm oracle dependencies. Add bcrypt there so the npm/* case can be compared against Node, remove the expected file, and run the bcrypt parity test to confirm it now diffs against the Node oracle. Done means the committed expected file is gone and the test passes through the normal npm-diff path.

Written by the indexing model from the issue text.

Description

area:tooling-ci effort:S impact:low type:chore

tests/parity/npm/bcrypt/test_gap_bcrypt_hash_async.ts (added in #14008) compares against tests/parity/expected/test_gap_bcrypt_hash_async.txt, because bcrypt is not in the root npm dependencies and the Node oracle cannot run it. Add bcrypt to the parity npm dependencies so the case is diffed against Node like the other npm/* subjects, then drop the committed expected file.

Dominant language
Rust
Stars
4.9k
Forks
166
Avg merge
6h 59m
Merged PRs (30d)
955

Getting set up

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.

More from PerryTS/perry

All issues in PerryTS/perry

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.