Skip to content

fix: mock t in formtabs] #866

fix: mock t in formtabs]

fix: mock t in formtabs] #866

Triggered via push October 25, 2024 12:12
Status Failure
Total duration 1m 46s
Artifacts
lint-test-build
1m 36s
lint-test-build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
Unhandled error: src/components/whatsAppTemplates/FormTabs.vue#L331
TypeError: this.$t is not a function ❯ Proxy.createDefaultNewLanguageTab src/components/whatsAppTemplates/FormTabs.vue:331:34 ❯ Proxy.created src/components/whatsAppTemplates/FormTabs.vue:111:14 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/WhatsAppTemplates/FormTabs.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/WhatsAppTemplates/FormTabs.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/config/ecommerce/vtex/Config.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/config/ecommerce/vtex/Config.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/config/ecommerce/vtex/Config.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/config/ecommerce/vtex/Config.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/config/ecommerce/vtex/Config.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/config/ecommerce/vtex/Config.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/tests/components/config/ecommerce/vtex/Config.spec.js". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/components/config/ecommerce/vtex/Config.vue#L188
TypeError: Cannot read properties of null (reading 'find') ❯ Proxy.appConfig src/components/config/ecommerce/vtex/Config.vue:188:36 ❯ ReactiveEffect.fn node_modules/@vue/reactivity/dist/reactivity.cjs.js:998:13 ❯ ReactiveEffect.run node_modules/@vue/reactivity/dist/reactivity.cjs.js:172:19 ❯ ComputedRefImpl.get value [as value] node_modules/@vue/reactivity/dist/reactivity.cjs.js:1010:109 ❯ Object.get [as appConfig] node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3505:22 ❯ Object.get node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3065:19 ❯ Proxy.mounted src/components/config/ecommerce/vtex/Config.vue:194:27 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/tests/components/config/ecommerce/vtex/Config.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
lint-test-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint-test-build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint-test-build
The process '/usr/bin/git' failed with exit code 128
lint-test-build: src/components/config/channels/whatsapp/Setup.vue#L102
Unexpected console statement
lint-test-build: src/components/config/channels/whatsapp/Setup.vue#L112
Unexpected console statement
lint-test-build: src/components/config/channels/whatsapp/Setup.vue#L135
Unexpected console statement
lint-test-build: src/components/config/channels/whatsapp/Setup.vue#L152
Unexpected console statement
lint-test-build: src/components/config/channels/whatsapp/Setup.vue#L166
Unexpected console statement
lint-test-build: src/components/config/channels/whatsapp/Setup.vue#L189
Unexpected console statement