fix #146
Annotations
5 errors
Test:
packages/frontend/src/scripts/misskey-api.ts#L37
ReferenceError: window is not defined
❯ src/scripts/misskey-api.ts:37:3
❯ Module.misskeyApi src/scripts/misskey-api.ts:31:18
❯ src/pages/user/index.files.vue:64:2
❯ ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2742:40
❯ callWithErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19
❯ callWithAsyncErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:207:17
❯ hook.__weh.hook.__weh ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2722:19
❯ flushPostFlushCbs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:382:28
❯ flushJobs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:424:5
This error originated in "test/home.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword
|
Test:
packages/frontend/src/scripts/misskey-api.ts#L37
ReferenceError: window is not defined
❯ src/scripts/misskey-api.ts:37:3
❯ Module.misskeyApi src/scripts/misskey-api.ts:31:18
❯ src/pages/user/index.files.vue:64:2
❯ ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2742:40
❯ callWithErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19
❯ callWithAsyncErrorHandling ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:207:17
❯ hook.__weh.hook.__weh ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:2722:19
❯ flushPostFlushCbs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:382:28
❯ flushJobs ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:424:5
This error originated in "test/home.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword
|
Test:
packages/frontend/src/components/MkPagination.vue#L8
TypeError: Cannot read properties of undefined (reading 'state')
❯ Proxy._sfc_render src/components/MkPagination.vue:8:34
❯ renderComponentRoot ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6380:16
❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5202:46
❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19
❯ setupRenderEffect ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5337:5
❯ mountComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5112:7
❯ processComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5065:9
❯ patch ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4594:11
❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5209:11
❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19
|
Test:
packages/frontend/src/components/MkPagination.vue#L8
TypeError: Cannot read properties of undefined (reading 'state')
❯ Proxy._sfc_render src/components/MkPagination.vue:8:34
❯ renderComponentRoot ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6380:16
❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5202:46
❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19
❯ setupRenderEffect ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5337:5
❯ mountComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5112:7
❯ processComponent ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5065:9
❯ patch ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4594:11
❯ ReactiveEffect.componentUpdateFn [as fn] ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5209:11
❯ ReactiveEffect.run ../../node_modules/.pnpm/@VUE[email protected]/node_modules/@vue/reactivity/dist/reactivity.cjs.js:226:19
|
Test
Process completed with exit code 1.
|
Loading