--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: valid.js --- # Input ```jsx switch (foo) { case true: case false: 'yes'; } switch (foo) { case true: { // empty } } switch (foo) { case true: } switch (foo) { case true: default: 'yes'; } switch (foo) { default: { // empty } } switch (foo) { default: } ```