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:
rugk
2026-02-23 14:44:21 +00:00
parent 47c986a781
commit 809a79bd3e
4 changed files with 23 additions and 20 deletions
+6 -2
View File
@@ -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