ci: add codecov integration
#243
Triggered via pull request
September 29, 2025 16:36
Status
Failure
Total duration
1m 14s
Artifacts
–
pr-builder.yml
on: pull_request
Matrix: 🚧 Build
Matrix: ⬣ ESLint (STATIC ANALYSIS)
Matrix: 👾 Unit Test (TESTING)
Matrix: ʦ Typecheck (STATIC ANALYSIS)
Annotations
11 errors and 24 warnings
|
⬣ ESLint (STATIC ANALYSIS) (lts/*)
Process completed with exit code 1.
|
|
src/errors/__tests__/AsgardeoAPIError.test.ts > AsgardeoAPIError > should create an API error without status code and text:
packages/javascript/src/errors/__tests__/AsgardeoAPIError.test.ts#L42
AssertionError: expected 'Unknown API Error' to be '🛡️ Asgardeo - @asgardeo/javascript: …' // Object.is equality
- Expected
+ Received
- 🛡️ Asgardeo - @asgardeo/javascript: Unknown API Error
-
- (code="API_ERROR")
-
+ Unknown API Error
❯ src/errors/__tests__/AsgardeoAPIError.test.ts:42:27
|
|
src/errors/__tests__/AsgardeoAPIError.test.ts > AsgardeoAPIError > should create an API error with status code and text:
packages/javascript/src/errors/__tests__/AsgardeoAPIError.test.ts#L30
AssertionError: expected 'Not Found Error' to be '🛡️ Asgardeo - @asgardeo/react: Not F…' // Object.is equality
- Expected
+ Received
- 🛡️ Asgardeo - @asgardeo/react: Not Found Error
-
- (code="API_NOT_FOUND")
-
+ Not Found Error
❯ src/errors/__tests__/AsgardeoAPIError.test.ts:30:27
|
|
src/api/__tests__/getUserInfo.test.ts > getUserInfo > should throw AsgardeoAPIError for empty string URL:
packages/javascript/src/api/__tests__/getUserInfo.test.ts#L137
AssertionError: expected 'Invalid endpoint URL provided' to be '🛡️ Asgardeo - @asgardeo/javascript: …' // Object.is equality
- Expected
+ Received
- 🛡️ Asgardeo - @asgardeo/javascript: Invalid endpoint URL provided
-
- (code="getUserInfo-ValidationError-001")
-
+ Invalid endpoint URL provided
❯ src/api/__tests__/getUserInfo.test.ts:137:27
|
|
src/api/__tests__/getUserInfo.test.ts > getUserInfo > should throw AsgardeoAPIError for undefined URL:
packages/javascript/src/api/__tests__/getUserInfo.test.ts#L125
AssertionError: expected 'Invalid endpoint URL provided' to be '🛡️ Asgardeo - @asgardeo/javascript: …' // Object.is equality
- Expected
+ Received
- 🛡️ Asgardeo - @asgardeo/javascript: Invalid endpoint URL provided
-
- (code="getUserInfo-ValidationError-001")
-
+ Invalid endpoint URL provided
❯ src/api/__tests__/getUserInfo.test.ts:125:27
|
|
src/api/__tests__/getUserInfo.test.ts > getUserInfo > should throw AsgardeoAPIError for invalid URL:
packages/javascript/src/api/__tests__/getUserInfo.test.ts#L113
AssertionError: expected 'Invalid endpoint URL provided' to be '🛡️ Asgardeo - @asgardeo/javascript: …' // Object.is equality
- Expected
+ Received
- 🛡️ Asgardeo - @asgardeo/javascript: Invalid endpoint URL provided
-
- (code="getUserInfo-ValidationError-001")
-
+ Invalid endpoint URL provided
❯ src/api/__tests__/getUserInfo.test.ts:113:27
|
|
src/api/__tests__/getScim2Me.test.ts:
packages/javascript/src/api/__tests__/getScim2Me.test.ts#L21
Error: Cannot find module '../../../errors/AsgardeoAPIError' imported from '/home/runner/work/javascript/javascript/packages/javascript/src/api/__tests__/getScim2Me.test.ts'
❯ src/api/__tests__/getScim2Me.test.ts:21:1
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url ../../../errors/AsgardeoAPIError (resolved id: ../../../errors/AsgardeoAPIError) in /home/runner/work/javascript/javascript/packages/javascript/src/api/__tests__/getScim2Me.test.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected][email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-DBxKXgDP.js:35725:17
|
|
src/api/__tests__/getBrandingPreference.test.ts > getBrandingPreference > should pass through custom headers:
packages/javascript/src/api/__tests__/getBrandingPreference.test.ts#L226
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
[
- "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference",
+ "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference/resolve",
{
"headers": {
+ "Accept": "application/json",
"Authorization": "***",
+ "Content-Type": "application/json",
"X-Custom-Header": "custom-value",
},
"method": "GET",
},
]
Number of calls: 1
❯ src/api/__tests__/getBrandingPreference.test.ts:226:19
|
|
src/api/__tests__/getBrandingPreference.test.ts > getBrandingPreference > should handle custom fetcher:
packages/javascript/src/api/__tests__/getBrandingPreference.test.ts#L163
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
@@ -1,7 +1,7 @@
[
- "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference",
+ "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference/resolve",
{
"headers": {
"Accept": "application/json",
"Content-Type": "application/json",
},
Number of calls: 1
❯ src/api/__tests__/getBrandingPreference.test.ts:163:27
|
|
src/api/__tests__/getBrandingPreference.test.ts > getBrandingPreference > should fetch branding preference with query parameters:
packages/javascript/src/api/__tests__/getBrandingPreference.test.ts#L137
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
@@ -1,7 +1,7 @@
[
- "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference?locale=en-US&name=custom&type=org",
+ "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference/resolve?locale=en-US&name=custom&type=org",
{
"headers": {
"Accept": "application/json",
"Content-Type": "application/json",
},
Number of calls: 1
❯ src/api/__tests__/getBrandingPreference.test.ts:137:19
|
|
src/api/__tests__/getBrandingPreference.test.ts > getBrandingPreference > should fetch branding preference successfully:
packages/javascript/src/api/__tests__/getBrandingPreference.test.ts#L107
AssertionError: expected "spy" to be called with arguments: [ …(2) ]
Received:
1st spy call:
@@ -1,7 +1,7 @@
[
- "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference",
+ "https://api.asgardeo.io/t/dxlab/api/server/v1/branding-preference/resolve",
{
"headers": {
"Accept": "application/json",
"Content-Type": "application/json",
},
Number of calls: 1
❯ src/api/__tests__/getBrandingPreference.test.ts:107:19
|
|
🚧 Build (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
🚧 Build (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
🚧 Build (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
🚧 Build (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
🚧 Build (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
🚧 Build (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
⬣ ESLint (STATIC ANALYSIS) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
⬣ ESLint (STATIC ANALYSIS) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
⬣ ESLint (STATIC ANALYSIS) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
⬣ ESLint (STATIC ANALYSIS) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
⬣ ESLint (STATIC ANALYSIS) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
⬣ ESLint (STATIC ANALYSIS) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
👾 Unit Test (TESTING) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
👾 Unit Test (TESTING) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
👾 Unit Test (TESTING) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
👾 Unit Test (TESTING) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
👾 Unit Test (TESTING) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
👾 Unit Test (TESTING) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ʦ Typecheck (STATIC ANALYSIS) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ʦ Typecheck (STATIC ANALYSIS) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ʦ Typecheck (STATIC ANALYSIS) (lts/*)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ʦ Typecheck (STATIC ANALYSIS) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ʦ Typecheck (STATIC ANALYSIS) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
ʦ Typecheck (STATIC ANALYSIS) (lts/*)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|