[Refactor] Rewrite logic to switch, summon and recall Pokemon #22314
Annotations
10 errors
|
Run tests:
test/test-utils/test-file-initialization.ts#L109
Invariant Violation: Failed to patch the "XMLHttpRequest" module: already patched.
❯ _XMLHttpRequestInterceptor.apply node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/Interceptor.ts:130:10
❯ BatchInterceptor.setup node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/BatchInterceptor.ts:44:19
❯ BatchInterceptor.apply node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/Interceptor.ts:130:10
❯ SetupServerApi.listen node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/msw/src/node/SetupServerCommonApi.ts:144:22
❯ initServerForApiTests test/test-utils/test-file-initialization.ts:109:17
❯ test/plugins/api/pokerogue-session-savedata-api.test.ts:22:12
|
|
Run tests:
test/plugins/api/pokerogue-savedata-api.test.ts#L40
AssertionError: expected 'Unknown error' to be 'Failed to update all!' // Object.is equality
Expected: "Failed to update all!"
Received: "Unknown error"
❯ test/plugins/api/pokerogue-savedata-api.test.ts:40:21
|
|
Run tests:
test/plugins/api/pokerogue-savedata-api.test.ts#L32
AssertionError: expected 'Unknown error' to be '' // Object.is equality
- Expected
+ Received
+ Unknown error
❯ test/plugins/api/pokerogue-savedata-api.test.ts:32:21
|
|
Run tests:
test/test-utils/test-file-initialization.ts#L109
Invariant Violation: Failed to patch the "XMLHttpRequest" module: already patched.
❯ _XMLHttpRequestInterceptor.apply node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/Interceptor.ts:130:10
❯ BatchInterceptor.setup node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/BatchInterceptor.ts:44:19
❯ BatchInterceptor.apply node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/Interceptor.ts:130:10
❯ SetupServerApi.listen node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/msw/src/node/SetupServerCommonApi.ts:144:22
❯ initServerForApiTests test/test-utils/test-file-initialization.ts:109:17
❯ test/plugins/api/pokerogue-admin-api.test.ts:19:12
|
|
Run tests:
test/plugins/api/pokerogue-account-api.test.ts#L118
AssertionError: expected 'Unknown error!' to be 'Password is incorrect' // Object.is equality
Expected: "Password is incorrect"
Received: "Unknown error!"
❯ test/plugins/api/pokerogue-account-api.test.ts:118:21
|
|
Run tests:
test/plugins/api/pokerogue-account-api.test.ts#L107
AssertionError: expected 'Unknown error!' to be null
- Expected:
null
+ Received:
"Unknown error!"
❯ test/plugins/api/pokerogue-account-api.test.ts:107:21
|
|
Run tests:
test/plugins/api/pokerogue-account-api.test.ts#L85
AssertionError: expected 'Unknown error!' to be 'Username is already taken' // Object.is equality
Expected: "Username is already taken"
Received: "Unknown error!"
❯ test/plugins/api/pokerogue-account-api.test.ts:85:21
|
|
Run tests:
test/plugins/api/pokerogue-account-api.test.ts#L75
AssertionError: expected 'Unknown error!' to be null
- Expected:
null
+ Received:
"Unknown error!"
❯ test/plugins/api/pokerogue-account-api.test.ts:75:21
|
|
Run tests:
test/plugins/api/pokerogue-account-api.test.ts#L52
AssertionError: expected 500 to be 401 // Object.is equality
- Expected
+ Received
- 401
+ 500
❯ test/plugins/api/pokerogue-account-api.test.ts:52:22
|
|
Run tests:
test/plugins/api/pokerogue-account-api.test.ts#L42
AssertionError: expected null to deeply equal { username: 'test', …(4) }
- Expected:
{
"discordId": "23235353543535",
"googleId": "1ed1d1d11d1d1d1d1d1",
"hasAdminRole": false,
"lastSessionSlot": -1,
"username": "test",
}
+ Received:
null
❯ test/plugins/api/pokerogue-account-api.test.ts:42:27
|
Loading