Some semi-internal notes.
Bundle | Command | Main file |
---|---|---|
All | npm start -- --configBundle all |
- |
Edit app | npm start -- --configBundle main |
frontend/edit-app/main.js |
Website | npm start -- --configBundle webpage |
frontend/webpage/main.js |
Translations | npm start -- --configBundle lang --configLang fi |
frontend/translations/${selectedLang}.js |
Tests | npm start -- --configBundle tests |
frontend/tests/main.js |
- Bundle tests
npm start -- --configBundle test
- Open browser localhost:8888/sivujetti/public/tests/index.html
Important: remeber to add
--exclude-group intensives
when running multiple tests.
cd backend
composer test -- ./sivujetti/tests --exclude-group intensives
composer test -- ./sivujetti/tests/src/dir
composer test -- ./cli/tests/src/dir
Note: These tests are temporarily out of date.
npm test -- e2e-tests/tests/block-styles-edit-test.js