This repository is intended to prove that aspect.js
can be used in Node.js 10.12.0, plain JavaScript project that uses Babel 7.
The package.json
has several scripts.
- Clone the repo
cd
into the cloned reponpm install
npm test
u
: runs unit tests bare with inline Babel transpilationi
: runs integration tests bare with inline Babel transpilationtranspile
: transpiles JavaScript using Babeltest
: transpiles then runs unit & integration tests with code coverage
...plus others. See the package.json for more info.
The tests use mocha
(& chai
for expect
assertions).
If you like using an IDE to debug, make sure to point your IDE's mocha
run/debug configuration at mocha.opts
.
This project uses standard
formatting.