File tree 1 file changed +4
-3
lines changed 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -350,8 +350,7 @@ Destroying models may result in errors due to foreign key integrity. First delet
350
350
351
351
## Running tests
352
352
353
- The tests in this repository are mainly integration tests, meaning you will need
354
- to run them using our preconfigured test server.
353
+ The tests in this repository are mainly integration tests, meaning you will need to run them using our preconfigured test server.
355
354
356
355
1 . Ask a core developer for instructions on how to set up test server
357
356
credentials on your machine
@@ -378,9 +377,11 @@ In ```test\init.js```, change the value of ```config``` to be pointing to the lo
378
377
};
379
378
```
380
379
380
+ 2 . (` Linux Only ` ) ` CI=true PGHOST=localhost PGPORT=<pgport> PGDATABASE=<dbname> PGUSER=<username> PGPASSWORD=<password> npm test `
381
+
381
382
__ Troubleshooting__
382
383
383
- When running npm test, it runs the ``` pretest.js ``` which eventually runs ``` schema.sql ``` to set up the database and tables.
384
+ When running ` npm test ` , it runs the ``` pretest.js ``` which eventually runs ``` schema.sql ``` to set up the database and tables.
384
385
If there is problem, you can run the ``` schema.sql ``` manually. To do this:
385
386
386
387
1 . Go to SQL Shell (psql)
You can’t perform that action at this time.
0 commit comments