Run dist before run tests

This commit is contained in:
Wei Zhu 2017-07-03 18:59:05 +08:00
parent 7ba016218c
commit c825f0108e

View File

@ -22,6 +22,7 @@ script:
node ./tests/dekko/dist.test.js && \
LIB_DIR=dist npm test -- --coverage -w 2
elif [ "$TEST_TYPE" = compile ]; then
npm run dist && \
npm run compile && \
node ./tests/dekko/lib.test.js && \
LIB_DIR=es npm test -- --coverage -w 2 && \