Proof of concept of aspect.js + JavaScript + Babel 7
November 14, 2018 ยท View on GitHub
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.
Overview
The package.json has several scripts.
TL;DR
- Clone the repo
cdinto the cloned reponpm installnpm test
NTL;R
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.
Debugging
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.
Formatting
This project uses standard formatting.