Merge branch 'cross-env-js-tests' into 'v3'

Make unit tests cross OS

Closes #824

See merge request openflexure/openflexure-microscope-server!650
This commit is contained in:
Joe Knapper 2026-07-08 15:09:13 +00:00
commit 330db19827

View file

@ -16,7 +16,7 @@
"lint:fix": "eslint . --fix --ignore-pattern .gitignore",
"lint:style": "stylelint \"src/**/*.{vue,less,css}\" --max-warnings=0",
"lint:style:fix": "stylelint \"src/**/*.{vue,less,css}\" --fix",
"test:unit": "NODE_OPTIONS=--expose-gc vitest run src/tests/unit/ --no-cache --mode test --detectAsyncLeaks --isolate=true --pool=forks --logHeapUsage --reporter=verbose"
"test:unit": "cross-env NODE_OPTIONS=--expose-gc vitest run src/tests/unit/ --no-cache --mode test --detectAsyncLeaks --isolate=true --pool=forks --logHeapUsage --reporter=verbose"
},
"dependencies": {
"@vueuse/core": "^14.3.0",