Skip to content

Getting Started: Installation

Arthur Guiot edited this page Oct 14, 2017 · 1 revision

Installation

There are multiple ways to install EyeJS, here are the recommended ones:

With Yarn:

$ yarn global add eye.js

With NPM (might require sudo):

$ npm i -g eye.js

Setup

Just create a __test__ or __tests__ folder wherever you want in your repository and include in it all test files.

Your repository should look like:

__tests__/
├── test1.js
└── test2.js
... // your files

Usage

If you got no errors, if you type eye -h, it should output:

EyeJS:
 $ eye [optional: file]

If you have setup your repository with EyeJS, just type eye and it will start testing.


⚠️ Questions?

Don't hesitate to ask your questions ⁉️ in the issue part 😁

Clone this wiki locally