mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-21 22:17:44 -04:00
fix(devcontainer): make it possible to run mocha tests in VSCode using different extension
Indeed https://github.com/maty21/mocha-sidebar/issues/181#issuecomment-1016768595 seems to work and pointed me to a better extension. This works better than maty.vscode-mocha-sidebar which could not find nyc.
This commit is contained in:
@@ -15,6 +15,10 @@ composer install --no-dev --optimize-autoloader
|
||||
composer global require phpunit/phpunit
|
||||
composer global require google/cloud-storage
|
||||
|
||||
sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html
|
||||
|
||||
# for JS testing
|
||||
JAVASCRIPT_DIRECTORY="$(pwd)/js"
|
||||
npm --prefix "$JAVASCRIPT_DIRECTORY" install "$JAVASCRIPT_DIRECTORY"
|
||||
npm install --global nyc
|
||||
|
||||
# development webserver
|
||||
sudo chmod a+x "$(pwd)" && sudo rm -rf /var/www/html && sudo ln -s "$(pwd)" /var/www/html
|
||||
|
||||
Reference in New Issue
Block a user