Closed jamesg1 closed 7 years ago
Dependent on PR #628 being merged first.
y can anyone help me out am i facing this error.
Hey @newbazz you need to update your node version as it is out of date for yarn. You can install node from here https://nodejs.org/en/download/ or use node version manager https://github.com/creationix/nvm so you can switch between node versions easily.
I've updated the node as specified about but I'm getting a similar error
Hey @MSSR-code - it looks like you haven't run yarn install
in your ganon repo. Jest is a dependency we use for our unit tests, so you must first install it. Try running yarn
or yarn install
and then run your tests.
@MSSR-code Make sure to read the Readme - https://github.com/BlakeGuilloud/ganon/blob/master/README.md
There is currently a method called
convertBytesToKilobytes
that lives in/lib/convertBytesToKilobytes.js
. It is incomplete and needs to be fixed!The method should take a number in bytes and return the equivalent in Kilobytes. More information about bits and bytes can be found here.
Acceptance Criteria:
yarn test convertBytesToKilobytes
results in tests passing.yarn lint
does not print any errors to the console!Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!