Skip to content

Commit 8e7a841

Browse files
authored
Merge branch 'main' into refactor
2 parents d5f3f8b + 74c89d2 commit 8e7a841

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cypress/e2e/trafficlight/trafficlight.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ function runAction(action: string, data: JSONValue): string | undefined {
255255
break;
256256

257257
default:
258-
cy.log('WARNING: unknown action ', action);
259-
break;
258+
throw new Error(`WARNING: unknown action "${action}"`);
260259
}
261260
}

0 commit comments

Comments
 (0)