mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Move the karma config and node_modules into the web directory.
This commit is contained in:
@@ -157,15 +157,16 @@ Python Tests
|
||||
run 'python runtests.py --exclude browser.server_groups.servers.databases,browser.server_groups.servers.tablespaces'
|
||||
|
||||
Javascript Tests
|
||||
javascript tests must be run from the web directory (since that is where node_modules and karma.conf reside)
|
||||
cd web/
|
||||
|
||||
brew install nodejs
|
||||
npm install
|
||||
brew install yarn
|
||||
yarn
|
||||
|
||||
you may wish to install the karma cli, so it is accessible globally:
|
||||
install the karma cli, so it is accessible globally:
|
||||
npm install -g karma-cli
|
||||
|
||||
Otherwise you can use:
|
||||
./node_modules/karma/bin/karma
|
||||
|
||||
to run tests:
|
||||
karma start --single-run
|
||||
|
||||
|
||||
Reference in New Issue
Block a user