[Refactor] Rewrite logic to switch, summon and recall Pokemon #22312
Annotations
10 errors
|
Run tests:
test/plugins/api/pokerogue-system-savedata-api.test.ts#L117
AssertionError: expected 'Unknown Error' to be 'Failed to update!' // Object.is equality
Expected: "Failed to update!"
Received: "Unknown Error"
❯ test/plugins/api/pokerogue-system-savedata-api.test.ts:117:21
|
|
Run tests:
test/plugins/api/pokerogue-system-savedata-api.test.ts#L109
AssertionError: expected 'Unknown Error' to be '' // Object.is equality
- Expected
+ Received
+ Unknown Error
❯ test/plugins/api/pokerogue-system-savedata-api.test.ts:109:21
|
|
Run tests:
src/plugins/api/api-base.ts#L77
TypeError: inferRawHeaders(...) is not iterable (cannot read property undefined)
❯ Object.construct node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts:195:30
❯ Object.construct node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts:185:33
❯ globalThis.fetch node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:52:23
❯ PokerogueSystemSavedataApi.doFetch src/plugins/api/api-base.ts:77:18
❯ PokerogueSystemSavedataApi.doGet src/plugins/api/api-base.ts:26:17
❯ PokerogueSystemSavedataApi.verify src/plugins/api/pokerogue-system-savedata-api.ts:46:33
❯ test/plugins/api/pokerogue-system-savedata-api.test.ts:90:48
|
|
Run tests:
src/plugins/api/api-base.ts#L77
TypeError: inferRawHeaders(...) is not iterable (cannot read property undefined)
❯ Object.construct node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts:195:30
❯ Object.construct node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/interceptors/ClientRequest/utils/recordRawHeaders.ts:185:33
❯ globalThis.fetch node_modules/.pnpm/@mswjs[email protected]/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:52:23
❯ PokerogueSystemSavedataApi.doFetch src/plugins/api/api-base.ts:77:18
❯ PokerogueSystemSavedataApi.doGet src/plugins/api/api-base.ts:26:17
❯ PokerogueSystemSavedataApi.verify src/plugins/api/pokerogue-system-savedata-api.ts:46:33
❯ test/plugins/api/pokerogue-system-savedata-api.test.ts:73:48
|
|
Run tests:
test/plugins/api/pokerogue-system-savedata-api.test.ts#L43
AssertionError: expected null to be 'TEST SYSTEM SAVEDATA' // Object.is equality
- Expected:
"TEST SYSTEM SAVEDATA"
+ Received:
null
❯ test/plugins/api/pokerogue-system-savedata-api.test.ts:43:24
|
|
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/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-account-api.test.ts:17:12
|
Loading