Infrastructure/improve types and error handling in astro actions #154
test.yml
on: pull_request
Hotfix Bypass
0s
Unit Tests
4m 27s
Annotations
3 errors
|
Unit Tests
Process completed with exit code 1.
|
|
src/components/scripts/utils/__tests__/environmentClient.spec.ts > Environment detection utilities > isDev should return true when ran in unit test:
src/components/scripts/utils/__tests__/environmentClient.spec.ts#L23
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/components/scripts/utils/__tests__/environmentClient.spec.ts:23:21
|
|
src/lib/config/__tests__/environmentServer.spec.ts > Build-time environment handling utilities > should report running in development environment when running in Vitest:
src/lib/config/__tests__/environmentServer.spec.ts#L22
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ src/lib/config/__tests__/environmentServer.spec.ts:22:21
|