feat(backend): add conditional branch node #61
ci.yml
on: pull_request
reuse
9s
commitlint
15s
e2e
0s
Annotations
2 errors
|
frontend
Process completed with exit code 1.
|
|
tests/unit/WorkflowBuilder.spec.ts > WorkflowBuilder > opens the node details panel immediately after a new node is added:
frontend/src/composables/useAutomationConnect.ts#L19
Error: [vitest] No "useMessages" export is defined on the "@ownclouders/web-pkg" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("@ownclouders/web-pkg"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ useAutomationConnect src/composables/useAutomationConnect.ts:19:27
❯ setup src/views/WorkflowBuilder.vue:146:38
❯ callWithErrorHandling node_modules/.pnpm/@VUE+runtime-core@3.5.40/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:200:19
❯ setupStatefulComponent node_modules/.pnpm/@VUE+runtime-core@3.5.40/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:8151:25
❯ setupComponent node_modules/.pnpm/@VUE+runtime-core@3.5.40/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:8113:36
❯ mountComponent node_modules/.pnpm/@VUE+runtime-core@3.5.40/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:6023:7
❯ processComponent node_modules/.pnpm/@VUE+runtime-core@3.5.40/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5989:9
❯ patch node_modules/.pnpm/@VUE+runtime-core@3.5.40/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:5494:11
|