one-calculator
v1.2.1
Published
Plain calculator mirco app in HTML/CSS/JS.
Downloads
2
Readme
calculator
Plain calculator mirco app in HTML/CSS/JS.
Getting started
Setting up environemt
node@8, npm@5 or yarn@stable
npm install
or yarn install
Fire up server
gulp start
or gulp s
Run tests
npm test
Build assets
gulp assets
or gulp a
Architecture
We use flux as its architecture pattern:
Tests structure
Unit tests live in the same folder of source file. e.g. calculator_store.js
and calculator_store.test.js
.
jest src
for short.
Functional tests are defined in tests/functional
folder.
jest functional
or jest fun
for short.
No integration tests: functional + unit tests should cover it.
Jest coverage report are created at tests/coverage
.