mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Bring React into the tree, and add linting and bundling framework for the JS etc.
This commit is contained in:
@@ -177,16 +177,17 @@ Javascript Tests:
|
||||
|
||||
sudo port install nodejs7 yarn
|
||||
|
||||
- See also the top-level pgadmin/README : Bundling Javascript
|
||||
|
||||
- Javascript tests must be run from the web directory (since that is where node_modules and karma.conf reside):
|
||||
|
||||
cd web/
|
||||
|
||||
- Install the JS modules required for testing:
|
||||
|
||||
yarn
|
||||
yarn install
|
||||
|
||||
- Now run the tests:
|
||||
|
||||
yarn run karma start --single-run
|
||||
|
||||
|
||||
yarn run test:karma
|
||||
yarn run test:karma-once
|
||||
|
||||
Reference in New Issue
Block a user