Quick Start

1. Install EasyTest

npm
yarn
pnpm
bun
npm install -D @olton/easytest

2. Add script to package.json

package.json
{
  "scripts": {
    "test": "easytest"
  }
}

3. Create a test file

hello.test.js
function hello() {
    return "Hello"
}

describe(`Common tests suite`, () => {
    it(`says hello`, () => {
        return expect(hello()).toBe("Hello")
    })
})

4. Run tests

npm
yarn
pnpm
bun
npm test