briansunter / node-jest-tdd-starter

A simple node Jest Javascript TDD boilerplate project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Jest TDD Starter

A simple node Jest Javascript TDD boilerplate project

Usage

npm test

npm run test:watch

 PASS  src/sum.test.js
  ✓ adds 1 + 2 to equal 3 (2ms)

----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |      100 |      100 |      100 |      100 |                   |
 sum.js   |      100 |      100 |      100 |      100 |                   |
----------|----------|----------|----------|----------|-------------------|
Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        0.433s, estimated 1s
Ran all test suites.

About

A simple node Jest Javascript TDD boilerplate project

License:MIT License


Languages

Language:JavaScript 100.0%