Test failed: 'util' is assigned a value but never used

Open Beginner friendly
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript, node.js
Domain
testing

Research direction

Start by running npm test and inspect the reported assignment at lib/encode.js:2. Check the surrounding code to determine why the util value is present, then confirm the issue is resolved when the Standard check and Mocha tests both pass.

Written by the indexing model from the issue text.

Description

Running tests using npm test command fails with this error:

> node-alias@0.2.12 test /workspaces/node-alias
> standard && mocha

standard: Use JavaScript Standard Style (http://standardjs.com)
  /workspaces/node-alias/lib/encode.js:2:5: 'util' is assigned a value but never used.
npm ERR! Test failed.  See above for more details.
Dominant language
JavaScript
Stars
16
Forks
23
PR merge metrics
No merged PRs in 30d

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.

More from LinusU/node-alias

All issues in LinusU/node-alias

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.