diff --git a/tests/snippets/jsx/test_apostrophe_text.txt b/tests/snippets/jsx/test_apostrophe_text.txt
new file mode 100644
index 000000000..953214c2d
--- /dev/null
+++ b/tests/snippets/jsx/test_apostrophe_text.txt
@@ -0,0 +1,35 @@
+---input---
+const View = () =>
I'm the Block view component!
;
+
+---tokens---
+'const' Keyword.Declaration
+' ' Text.Whitespace
+'View' Name.Other
+' ' Text.Whitespace
+'=' Operator
+' ' Text.Whitespace
+'(' Punctuation
+')' Punctuation
+' ' Text.Whitespace
+'=>' Punctuation
+' ' Text.Whitespace
+'<' Punctuation
+'div' Name.Tag
+'>' Punctuation
+'I' Name.Other
+"'" Text
+'m' Name.Other
+' ' Text.Whitespace
+'the' Name.Other
+' ' Text.Whitespace
+'Block' Name.Other
+' ' Text.Whitespace
+'view' Name.Other
+' ' Text.Whitespace
+'component' Name.Other
+'!' Operator
+'' Punctuation
+'div' Name.Tag
+'>' Punctuation
+';' Punctuation
+'\n' Text.Whitespace