2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 10:38:55 +00:00
nativefier/src
Jia Hao Goh 1505933826 Promisfy and parallelise config, add unit tests
Instead of optionsMain exporting an async function, this commit changes
it to return a promise instead. We split all the needed async
helpers for this config builder into smaller promises, in `src/options/*`. Another side
effect of this is that we perform all our async config inferring in
parallel, which speeds up the nativefier CLI.

Add proper unit tests as well for all of these promises. Switch to
Jest for these unit tests, and we are temporarily running both Jest and
mocha together in `npm test`. To refactor all the Mocha code to use Jest in
a future commit.
2017-05-07 15:49:15 +08:00
..
build Promisfy and parallelise config, add unit tests 2017-05-07 15:49:15 +08:00
helpers Update eslint and use Airbnb style 2017-04-29 22:52:12 +08:00
infer Promisfy and parallelise config, add unit tests 2017-05-07 15:49:15 +08:00
options Promisfy and parallelise config, add unit tests 2017-05-07 15:49:15 +08:00
utils Promisfy and parallelise config, add unit tests 2017-05-07 15:49:15 +08:00
cli.js Add ARM build support (#360) 2017-05-06 15:11:51 -04:00
constants.js Promisfy and parallelise config, add unit tests 2017-05-07 15:49:15 +08:00
index.js Fix lint error 2016-03-12 01:42:53 +08:00