Fix mock test env check outside of browser
This commit is contained in:
parent
dbff1ab4d1
commit
3f074a7737
11 changed files with 47 additions and 22 deletions
|
@ -142,21 +142,20 @@ export function FromSomeoneToGroup(): JSX.Element {
|
|||
}
|
||||
|
||||
export function LongSearchResult(): JSX.Element {
|
||||
const snippets = [
|
||||
'This is a really <<left>>detail<<right>>ed long line which will wrap and only be cut off after it gets to three lines. So maybe this will make it in as well?',
|
||||
"Okay, here are the <<left>>detail<<right>>s:\n\n1355 Ridge Way\nCode: 234\n\nI'm excited!",
|
||||
];
|
||||
|
||||
const props1 = useProps({
|
||||
from: someone,
|
||||
to: me,
|
||||
snippet: snippets[0],
|
||||
snippet:
|
||||
'This is a really <<left>>detail<<right>>ed long line which will wrap and only be cut off after it gets to three lines. So maybe this will make it in as well?',
|
||||
body: 'This is a really detailed long line which will wrap and only be cut off after it gets to three lines. So maybe this will make it in as well?',
|
||||
});
|
||||
|
||||
const props2 = useProps({
|
||||
from: someone,
|
||||
to: me,
|
||||
snippet: snippets[1],
|
||||
snippet:
|
||||
"Okay, here are the <<left>>detail<<right>>s:\n\n1355 Ridge Way\nCode: 234\n\nI'm excited!",
|
||||
body: "Okay, here are the details:\n\n1355 Ridge Way\nCode: 234\n\nI'm excited!",
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue