ranstack query fixes
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 13m21s

This commit is contained in:
2026-01-10 19:03:40 -08:00
parent cf5f77c58e
commit a997d1d0b0
17 changed files with 286 additions and 154 deletions

View File

@@ -20,6 +20,26 @@ npm run test:unit # Run unit tests only
npm run test:integration # Run integration tests (requires DB/Redis)
```
### Running Tests via Podman (from Windows host)
The command to run unit tests in the Linux container via podman:
```bash
podman exec -it flyer-crawler-dev npm run test:unit
```
The command to run integration tests in the Linux container via podman:
```bash
podman exec -it flyer-crawler-dev npm run test:integration
```
For running specific test files:
```bash
podman exec -it flyer-crawler-dev npm test -- --run src/hooks/useAuth.test.tsx
```
### Why Linux Only?
- Path separators: Code uses POSIX-style paths (`/`) which may break on Windows