aboutsummaryrefslogtreecommitdiffstats
path: root/packages/excalidraw/components/__snapshots__/App.test.tsx.snap
diff options
context:
space:
mode:
authorkj_sh6042026-03-15 16:19:35 -0400
committerkj_sh6042026-03-15 16:19:35 -0400
commit6ec259a0e71174651bae95d4628138bf6fd68742 (patch)
tree5e33c6a5ec091ecabfcb257fdc7b6a88ed8754ac /packages/excalidraw/components/__snapshots__/App.test.tsx.snap
parent16c8578b15c727f22921f8a80a56ee4d4e7f2272 (diff)
refactor: packages/
Diffstat (limited to 'packages/excalidraw/components/__snapshots__/App.test.tsx.snap')
-rw-r--r--packages/excalidraw/components/__snapshots__/App.test.tsx.snap50
1 files changed, 50 insertions, 0 deletions
diff --git a/packages/excalidraw/components/__snapshots__/App.test.tsx.snap b/packages/excalidraw/components/__snapshots__/App.test.tsx.snap
new file mode 100644
index 0000000..49c2fd0
--- /dev/null
+++ b/packages/excalidraw/components/__snapshots__/App.test.tsx.snap
@@ -0,0 +1,50 @@
+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
+
+exports[`Test <App/> > should show error modal when using brave and measureText API is not working 1`] = `
+<div
+ data-testid="brave-measure-text-error"
+>
+ <p>
+ Looks like you are using Brave browser with the
+ <span
+ style="font-weight: 600;"
+ >
+ Aggressively Block Fingerprinting
+ </span>
+ setting enabled.
+ </p>
+ <p>
+ This could result in breaking the
+ <span
+ style="font-weight: 600;"
+ >
+ Text Elements
+ </span>
+ in your drawings.
+ </p>
+ <p>
+ We strongly recommend disabling this setting. You can follow
+ <a
+ href="http://docs.excalidraw.com/docs/@excalidraw/excalidraw/faq#turning-off-aggresive-block-fingerprinting-in-brave-browser"
+ >
+ these steps
+ </a>
+ on how to do so.
+ </p>
+ <p>
+ If disabling this setting doesn't fix the display of text elements, please open an
+ <a
+ href="https://github.com/excalidraw/excalidraw/issues/new"
+ >
+ issue
+ </a>
+ on our GitHub, or write us on
+ <a
+ href="https://discord.gg/UexuTaE"
+ >
+ Discord
+ .
+ </a>
+ </p>
+</div>
+`;