This plugin handles interactions to do with cardscript.
...
$ npm install tymly-cardscript-plugin --save
Before running the tests, you'll need a test PostgreSQL database available and set a PG_CONNECTION_STRING
environment variable to point to it, for example:
PG_CONNECTION_STRING=postgres://postgres:postgres@localhost:5432/my_test_db
Once the environment variables have been set, you can run the tests like this:
$ npm test