Skip to content

Chrono-Tech/ChronoMint

Repository files navigation

ChronoMint Build Status Coverage Status Standard - JavaScript Style Guide

Control panel for ChronoBank

Install

yarn

Development

Start TestRPC in a separate terminal by doing:

yarn testrpc

Then in another separate terminal (optional):

yarn bridge

Wait for Listening @... message and don't exit from this process!

After that deploy contracts with:

yarn contracts

And finally:

yarn start

Now you able to access ChronoMint dApp through the http://localhost:3000/

To open truffle console use:

yarn tconsole

Test

Run both e2e & unit tests by

yarn test

###Unit Run all test suite files matched *.spec.js pattern

yarn test:unit

To test separate specs just add your regex at the end of this command. Ensure what yarn testrpc is already ran in separate console

###E2E

Install

yarn selenium-server:install

####Run all test suite files matched *.test.js pattern Note, the app should be launched

yarn selenium-server:start
yarn test:e2e

License

GNU AGPLv3

Copyright

LaborX PTY