Skip to content

ONEOKI/code-tst

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding test

Setup

- Nodejs version 12+
- Ability to connect to the internet

Getting started

- To install all dependencies run `npm install`
- To run tests run `npm test`
- To lint your js files `npm run lint:check`
- To fix lint error in your js files run `npm run lint:fix`

Instructions

- The following are the files where you are required to provide a solution for:
    - `src/01_convert-object-to-array.js`
    - `src/02_get-first-non-repeating-char.js`
    - `src/03_pagination.js`
    - `src/04_remote-data.js`
- The unit test files can be found alongside the solution file with `.spec.js` extension.
- The unit tests are not exhaustive or necessarily correct
- Try to write production grade code. Consider error handling, edge cases, performance etc.
- We recommend you use `https://yarnpkg.com/package/got` to make API calls for `src/04_remote-data.js`. You may install any other package if you wish.

End Goal

  • Make all failing tests pass.
  • Improve the unit tests.

How to submit your solutions ?

  • Push your solutions to your personal gihub account or email us a zip file.
  • Email us when you are done!

BEST OF LUCK !!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%