feat: support multiple user profiles and hosts #50
Annotations
25 errors
|
tests/login.test.js > auth.js > login > should login successfully with valid credentials:
src/commands/auth.js#L17
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.login src/commands/auth.js:17:29
❯ tests/login.test.js:76:13
|
|
tests/login.test.js > auth.js > login > should fail login with invalid credentials:
src/commands/auth.js#L17
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.login src/commands/auth.js:17:29
❯ tests/login.test.js:103:13
|
|
tests/login.test.js > auth.js > getUserInfo > should fetch user info successfully:
tests/login.test.js#L176
AssertionError: expected "fetch" to be called with arguments: [ Array(2) ]
Received:
Number of calls: 0
❯ tests/login.test.js:176:21
|
|
tests/login.test.js > auth.js > getUserInfo > should handle fetch user info error:
tests/login.test.js#L189
AssertionError: expected "error" to be called with arguments: [ Array(1) ]
Received:
1st error call:
Array [
"Failed to get user info.
- Error: Network error",
+ Error: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')",
]
Number of calls: 1
❯ tests/login.test.js:189:29
|
|
tests/login.test.js > auth.js > Authentication > should return null if the auth_token is not defined:
src/commands/auth.js#L84
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.getAuthToken src/commands/auth.js:84:29
❯ tests/login.test.js:213:22
|
|
tests/login.test.js > auth.js > getUsageInfo > should fetch usage info successfully:
tests/login.test.js#L268
AssertionError: expected "fetch" to be called with arguments: [ …(2) ]
Received:
Number of calls: 0
❯ tests/login.test.js:268:21
|
|
tests/login.test.js > auth.js > getUsageInfo > should handle fetch usage info error:
tests/login.test.js#L279
AssertionError: expected "error" to be called with arguments: [ Array(1) ]
Received:
1st error call:
Array [
"Failed to fetch usage information.
- Error: Network error",
+ Error: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')",
]
Number of calls: 1
❯ tests/login.test.js:279:29
|
|
build (20.x)
Process completed with exit code 1.
|
|
tests/login.test.js > auth.js > login > should login successfully with valid credentials:
src/commands/auth.js#L17
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.login src/commands/auth.js:17:29
❯ tests/login.test.js:76:13
|
|
tests/login.test.js > auth.js > login > should fail login with invalid credentials:
src/commands/auth.js#L17
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.login src/commands/auth.js:17:29
❯ tests/login.test.js:103:13
|
|
tests/login.test.js > auth.js > getUserInfo > should fetch user info successfully:
tests/login.test.js#L176
AssertionError: expected "fetch" to be called with arguments: [ Array(2) ]
Received:
Number of calls: 0
❯ tests/login.test.js:176:21
|
|
tests/login.test.js > auth.js > getUserInfo > should handle fetch user info error:
tests/login.test.js#L189
AssertionError: expected "error" to be called with arguments: [ Array(1) ]
Received:
1st error call:
Array [
"Failed to get user info.
- Error: Network error",
+ Error: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')",
]
Number of calls: 1
❯ tests/login.test.js:189:29
|
|
tests/login.test.js > auth.js > Authentication > should return null if the auth_token is not defined:
src/commands/auth.js#L84
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.getAuthToken src/commands/auth.js:84:29
❯ tests/login.test.js:213:22
|
|
tests/login.test.js > auth.js > getUsageInfo > should fetch usage info successfully:
tests/login.test.js#L268
AssertionError: expected "fetch" to be called with arguments: [ …(2) ]
Received:
Number of calls: 0
❯ tests/login.test.js:268:21
|
|
tests/login.test.js > auth.js > getUsageInfo > should handle fetch usage info error:
tests/login.test.js#L279
AssertionError: expected "error" to be called with arguments: [ Array(1) ]
Received:
1st error call:
Array [
"Failed to fetch usage information.
- Error: Network error",
+ Error: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')",
]
Number of calls: 1
❯ tests/login.test.js:279:29
|
|
build (18.x)
Process completed with exit code 1.
|
|
build (23.x)
The job was canceled because "_20_x" failed.
|
|
tests/login.test.js > auth.js > login > should login successfully with valid credentials:
src/commands/auth.js#L17
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.login src/commands/auth.js:17:29
❯ tests/login.test.js:76:13
|
|
tests/login.test.js > auth.js > login > should fail login with invalid credentials:
src/commands/auth.js#L17
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.login src/commands/auth.js:17:29
❯ tests/login.test.js:103:13
|
|
tests/login.test.js > auth.js > getUserInfo > should fetch user info successfully:
tests/login.test.js#L176
AssertionError: expected "fetch" to be called with arguments: [ Array(2) ]
Received:
Number of calls: 0
❯ tests/login.test.js:176:21
|
|
tests/login.test.js > auth.js > getUserInfo > should handle fetch user info error:
tests/login.test.js#L189
AssertionError: expected "error" to be called with arguments: [ Array(1) ]
Received:
1st error call:
Array [
"Failed to get user info.
- Error: Network error",
+ Error: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')",
]
Number of calls: 1
❯ tests/login.test.js:189:29
|
|
tests/login.test.js > auth.js > Authentication > should return null if the auth_token is not defined:
src/commands/auth.js#L84
TypeError: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')
❯ Module.getAuthToken src/commands/auth.js:84:29
❯ tests/login.test.js:213:22
|
|
tests/login.test.js > auth.js > getUsageInfo > should fetch usage info successfully:
tests/login.test.js#L268
AssertionError: expected "fetch" to be called with arguments: [ …(2) ]
Received:
Number of calls: 0
❯ tests/login.test.js:268:21
|
|
tests/login.test.js > auth.js > getUsageInfo > should handle fetch usage info error:
tests/login.test.js#L279
AssertionError: expected "error" to be called with arguments: [ Array(1) ]
Received:
1st error call:
Array [
"Failed to fetch usage information.
- Error: Network error",
+ Error: Cannot read properties of undefined (reading 'Symbol(ProfileAPI)')",
]
Number of calls: 1
❯ tests/login.test.js:279:29
|
|
build (23.x)
The operation was canceled.
|