mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-07-23 04:21:56 +00:00
docs
This commit is contained in:
@@ -26,7 +26,7 @@ HTTP_PORT=4000 node app
|
||||
```
|
||||
|
||||
#### Running the test suite
|
||||
To run the included test suite, you will need to have mysql installed on your laptop/server. You will need to set the mysql root password in the MYSQL_ROOT_PASSWORD environment variable and then run the tests. The test suite creates a scratch database (called 'jambones_test') to run the tests against, and removes it afterwards.
|
||||
To run the included test suite, you will need to have a mysql server installed on your laptop/server. You will need to set the MYSQL_ROOT_PASSWORD env variable to the mysql root password before running the tests. The test suite creates a database named 'jambones_test' in your mysql server to run the tests against, and removes it when done.
|
||||
```
|
||||
export MYSQL_ROOT_PASSWORD=foobar
|
||||
npm test
|
||||
|
||||
Reference in New Issue
Block a user