Skip to content

feat: add wrapper around environment variable #17

feat: add wrapper around environment variable

feat: add wrapper around environment variable #17

Triggered via push June 30, 2024 15:28
Status Failure
Total duration 25s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
tests/restaurants/RestaurantScreen.spec.tsx: src/utils/vite-env-var.ts#L18
Error: Environment variable VITE_API_KEY not found ❯ Object.assertNoUndefined src/utils/vite-env-var.ts:18:13 ❯ Object.get src/utils/vite-env-var.ts:9:10 ❯ src/restaurants/RestaurantContext.tsx:8:33 ❯ tests/restaurants/RestaurantScreen.spec.tsx:5:25
Test
Process completed with exit code 1.
Test
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.