Tests for CSRF scenarios in the browser.
git clone https://github.com/bogeeee/restfuncs.git
cd restfuncs/tests/crossSiteSecurity
npm install
npn run devNow open http://localhost:3000 and http://localhost:3666 in the browser and for both, check the status (main/cross site + if tests succeeded).
See clientTests.ts/runAlltests function