[tests][s]: initial tests for components.
This commit is contained in:
31
__tests__/components/search/__snapshots__/Item.test.tsx.snap
Normal file
31
__tests__/components/search/__snapshots__/Item.test.tsx.snap
Normal file
@@ -0,0 +1,31 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`📸 of Item component 1`] = `
|
||||
<div>
|
||||
<h3
|
||||
className="text-2xl font-semibold"
|
||||
>
|
||||
<a
|
||||
className="text-primary"
|
||||
href="/@test-org/test"
|
||||
onClick={[Function]}
|
||||
onMouseEnter={[Function]}
|
||||
>
|
||||
Title
|
||||
</a>
|
||||
</h3>
|
||||
<a
|
||||
className="text-gray-500 block mt-1"
|
||||
href="/@test-org"
|
||||
onClick={[Function]}
|
||||
onMouseEnter={[Function]}
|
||||
>
|
||||
test org
|
||||
</a>
|
||||
<div
|
||||
className="leading-relaxed mt-2"
|
||||
>
|
||||
A description.
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
@@ -0,0 +1,10 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`📸 of Total component 1`] = `
|
||||
<h1
|
||||
className="text-4xl font-semibold text-primary"
|
||||
>
|
||||
2
|
||||
results found
|
||||
</h1>
|
||||
`;
|
||||
Reference in New Issue
Block a user