fetch_ml/tests/e2e
Jeremie Fraeys d8cc2a4efa
refactor: Migrate all test imports from api to api/ws package
Updated 6 test files to use proper api/ws package imports:

1. tests/e2e/websocket_e2e_test.go
   - api.NewWSHandler → ws.NewHandler

2. tests/e2e/wss_reverse_proxy_e2e_test.go
   - api.NewWSHandler → ws.NewHandler

3. tests/integration/ws_handler_integration_test.go
   - api.NewWSHandler → wspkg.NewHandler
   - api.Opcode* → wspkg.Opcode*

4. tests/integration/websocket_queue_integration_test.go
   - api.NewWSHandler → wspkg.NewHandler
   - api.Opcode* → wspkg.Opcode*

5. tests/unit/api/ws_test.go
   - api.NewWSHandler → wspkg.NewHandler
   - api.Opcode* → wspkg.Opcode*

6. tests/unit/api/ws_jobs_args_test.go
   - api.Opcode* → wspkg.Opcode*

Removed api/ws_compat.go shim as all tests now use proper imports.

Build status: Compiles successfully
2026-02-17 13:52:20 -05:00
..
cli_api_e2e_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
docker-compose.logs-debug.yml test: add comprehensive test coverage and command improvements 2026-02-16 20:38:15 -05:00
example_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
homelab_e2e_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
job_lifecycle_e2e_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
logs_debug_e2e_test.go test: add comprehensive test coverage and command improvements 2026-02-16 20:38:15 -05:00
main_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
ml_project_variants_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
podman_integration_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
sync_test.go Fix multi-user authentication and clean up debug code 2025-12-06 12:35:32 -05:00
tracking_test.go test: expand unit/integration/e2e coverage for new worker/api behavior 2026-01-05 12:31:36 -05:00
websocket_e2e_test.go refactor: Migrate all test imports from api to api/ws package 2026-02-17 13:52:20 -05:00
wss_reverse_proxy_e2e_test.go refactor: Migrate all test imports from api to api/ws package 2026-02-17 13:52:20 -05:00