style(test): satisfy oxfmt on the widget pill shadow test
"Tests (backend + frontend)" was failing on this branch: the backend suite passed (7059 tests) and the frontend suite passed, but `bun run format:check` flagged src/test/widgetPillShadowClip.test.jsx. Formatting only — no behavioural change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
e014d63253
commit
5d99271865
@@ -67,7 +67,7 @@ function expectShadowFitsGutter(rule) {
|
||||
}
|
||||
|
||||
describe('index.css: widget-scoped .capture-pill shadow fits the 8px gutter', () => {
|
||||
it('defines an override under html[data-window=\'widget\'] whose outer shadow layers and max-width both fit inside the padding gutter', () => {
|
||||
it("defines an override under html[data-window='widget'] whose outer shadow layers and max-width both fit inside the padding gutter", () => {
|
||||
// No such rule exists pre-fix: the widget window inherits the unscoped
|
||||
// .capture-pill shadow verbatim, which is what gets clipped.
|
||||
const rule = extractRule("html[data-window='widget'] .capture-pill");
|
||||
@@ -90,7 +90,7 @@ describe('index.css: widget-scoped .capture-pill shadow fits the 8px gutter', ()
|
||||
// would reappear the instant the user starts recording, which is the
|
||||
// pill's single most common state.
|
||||
it.each(['recording', 'transcribing'])(
|
||||
'also fits the %s state\'s own colored-glow shadow inside the gutter',
|
||||
"also fits the %s state's own colored-glow shadow inside the gutter",
|
||||
(state) => {
|
||||
const rule = extractRule(`html[data-window='widget'] .capture-pill--${state}`);
|
||||
expect(rule).not.toBeNull();
|
||||
|
||||
Reference in New Issue
Block a user