Closed vomaksh closed 11 months ago
I have set up GitHub actions and it runs on every commit. Refer to the below file for how to run the test, you can find the latest test run here https://github.com/ananthakumaran/paisa/actions/runs/6291039458/job/17079034327#step:4:550
Please use the discussions for questions like this, issue tracker is reserved for tracking bugs.
Now I get it, you are not running npm run test
, instead you are running NODE_OPTIONS=--experimental-vm-modules npm run test
.
But IMHO, keeping this command directly inside Makefile is not a good idea. Because if one has to run test cases in watch mode or wants to run npm run test
command, one may not know this experimental flag you are using in NODE_OPTIONS
. You can keep this flag inside test
script in package.json
.
Describe your Environment OS: Ubuntu 22.04 (WSL 2) Paisa Version: master branch
Describe the bug 3/5 tests are failing
src/lib/search/parser/parser.test.ts
src/lib/search_query_editor.test.ts
src/lib/import.test.ts
To Reproduce Steps to reproduce the behavior:
npm test
Expected behavior All tests should pass.