Move the karma config and node_modules into the web directory.

This commit is contained in:
Atira Odhner
2017-03-15 17:13:55 +00:00
committed by Dave Page
parent ae0d8e89eb
commit 5593faf2a4
5 changed files with 16 additions and 15 deletions

View File

@@ -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