feat: FraseAncla section (02) — anchor quote

This commit is contained in:
erikgh committed 2026-07-21 10:24:52 -06:00
1 parent ccfcf71491
commit d2fe1fcf64
5 files changed
+63 -1

No files matched your search

+18
View File
@@ -1 +1,19 @@
import '@testing-library/jest-dom/vitest';
// jsdom lacks IntersectionObserver; Framer Motion's `whileInView` needs it.
if (typeof window !== 'undefined' && !('IntersectionObserver' in window)) {
class IntersectionObserverStub {
observe() {}
unobserve() {}
disconnect() {}
takeRecords() {
return [];
}
root = null;
rootMargin = '';
thresholds = [];
}
// @ts-expect-error – installing stub on window
window.IntersectionObserver = IntersectionObserverStub;
global.IntersectionObserver = IntersectionObserverStub;
}