Move the package.json file to the web/ directory
parent
c8fa0c4e28
commit
dbddad50bf
|
@ -157,16 +157,13 @@ Python Tests
|
||||||
run 'python runtests.py --exclude browser.server_groups.servers.databases,browser.server_groups.servers.tablespaces'
|
run 'python runtests.py --exclude browser.server_groups.servers.databases,browser.server_groups.servers.tablespaces'
|
||||||
|
|
||||||
Javascript Tests
|
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
|
brew install nodejs
|
||||||
brew install yarn
|
brew install yarn
|
||||||
|
|
||||||
|
javascript tests must be run from the web directory (since that is where node_modules and karma.conf reside)
|
||||||
|
cd web/
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
install the karma cli, so it is accessible globally:
|
|
||||||
npm install -g karma-cli
|
|
||||||
|
|
||||||
to run tests:
|
to run tests:
|
||||||
karma start --single-run
|
yarn run karma start --single-run
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue