Skip to content

The agent that grows with you

style(desktop): blank lines before statements in sandboxed-frame test

teknium18636d6a57b09
diff --git a/apps/desktop/src/components/ui/sandboxed-frame.test.tsx b/apps/desktop/src/components/ui/sandboxed-frame.test.tsx
index 936b2b35541..3f36f109b0f 100644
--- a/apps/desktop/src/components/ui/sandboxed-frame.test.tsx
+++ b/apps/desktop/src/components/ui/sandboxed-frame.test.tsx
@@ -16,6 +16,7 @@ describe('sanitizeFrameSandbox', () => {
expect(sanitizeFrameSandbox('allow-scripts allow-invented-thing')).toBe('allow-scripts')
// A frame with NO sandbox attribute is fully privileged — an emptied set
// must fall back to the default posture, not to nothing.
+
for (const escape of [
undefined,
' ',
@@ -57,6 +58,7 @@ describe('SandboxedFrame', () => {
title="Feed"
/>
)
+
const frame = container.querySelector('iframe')!
expect(frame.getAttribute('sandbox')).toBe('allow-scripts')