Skip to content

feat: Conditional Survey Logic (showIf) #157

feat: Conditional Survey Logic (showIf)

feat: Conditional Survey Logic (showIf) #157

Triggered via pull request November 25, 2025 22:33
Status Failure
Total duration 31s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test
Process completed with exit code 1.
src/lib/conditions.test.ts > evaluateCondition > no valid operator > returns true and warns when no operator is provided: src/lib/conditions.test.ts#L201
AssertionError: expected "warn" to be called with arguments: [ StringContaining{…} ] Number of calls: 0 ❯ src/lib/conditions.test.ts:201:30
src/lib/conditions.test.ts > evaluateCondition > notIn operator > returns false and warns when answer is an array: src/lib/conditions.test.ts#L187
AssertionError: expected "warn" to be called with arguments: [ StringContaining{…} ] Number of calls: 0 ❯ src/lib/conditions.test.ts:187:30
src/lib/conditions.test.ts > evaluateCondition > in operator > returns false and warns when answer is an array: src/lib/conditions.test.ts#L164
AssertionError: expected "warn" to be called with arguments: [ StringContaining{…} ] Number of calls: 0 ❯ src/lib/conditions.test.ts:164:30
src/lib/conditions.test.ts > evaluateCondition > notEquals operator > returns false and warns when answer is an array: src/lib/conditions.test.ts#L135
AssertionError: expected "warn" to be called with arguments: [ StringContaining{…} ] Number of calls: 0 ❯ src/lib/conditions.test.ts:135:30
src/lib/conditions.test.ts > evaluateCondition > equals operator > returns false and warns when answer is a string: src/lib/conditions.test.ts#L108
AssertionError: expected "warn" to be called at least once ❯ src/lib/conditions.test.ts:108:30
src/lib/conditions.test.ts > evaluateCondition > equals operator > returns false and warns when answer is an array: src/lib/conditions.test.ts#L99
AssertionError: expected "warn" to be called with arguments: [ StringContaining{…} ] Number of calls: 0 ❯ src/lib/conditions.test.ts:99:30
src/lib/conditions.test.ts > evaluateCondition > invalid question ID format > returns true and warns for uppercase question ID: src/lib/conditions.test.ts#L51
AssertionError: expected "warn" to be called at least once ❯ src/lib/conditions.test.ts:51:30
src/lib/conditions.test.ts > evaluateCondition > invalid question ID format > returns true and warns for invalid format without -q-: src/lib/conditions.test.ts#L45
AssertionError: expected "warn" to be called at least once ❯ src/lib/conditions.test.ts:45:30
src/lib/conditions.test.ts > evaluateCondition > invalid question ID format > returns true and warns for empty question ID: src/lib/conditions.test.ts#L37
AssertionError: expected "warn" to be called with arguments: [ StringContaining{…} ] Number of calls: 0 ❯ src/lib/conditions.test.ts:37:30