Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Jul 26, 2023
1 parent 287ec86 commit 7ae2b56
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 0 deletions.
109 changes: 109 additions & 0 deletions test/snap/__snapshots__/csr.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -88648,6 +88648,115 @@ exports[`csr snapshot test > csr test src/dropdown/_example/disabled.jsx 1`] = `
}
`;

exports[`csr snapshot test > csr test src/dropdown/_example/icon.jsx 1`] = `
{
"asFragment": [Function],
"baseElement": <body>
<script
class="t-svg-js-stylesheet--unique-class"
src="https://tdesign.gtimg.com/icon/0.1.4/fonts/index.js"
/>
<div>
<button
class="t-button t-button--theme-default t-button--variant-text"
type="button"
>
<span
class="t-button__text"
>
更多
</span>
<span
class="t-button__suffix"
>
<svg
class="t-icon t-icon-chevron-down"
>
<use
xlink:href="#t-icon-chevron-down"
/>
</svg>
</span>
</button>
</div>
</body>,
"container": <div>
<button
class="t-button t-button--theme-default t-button--variant-text"
type="button"
>
<span
class="t-button__text"
>
更多
</span>
<span
class="t-button__suffix"
>
<svg
class="t-icon t-icon-chevron-down"
>
<use
xlink:href="#t-icon-chevron-down"
/>
</svg>
</span>
</button>
</div>,
"debug": [Function],
"findAllByAltText": [Function],
"findAllByDisplayValue": [Function],
"findAllByLabelText": [Function],
"findAllByPlaceholderText": [Function],
"findAllByRole": [Function],
"findAllByTestId": [Function],
"findAllByText": [Function],
"findAllByTitle": [Function],
"findByAltText": [Function],
"findByDisplayValue": [Function],
"findByLabelText": [Function],
"findByPlaceholderText": [Function],
"findByRole": [Function],
"findByTestId": [Function],
"findByText": [Function],
"findByTitle": [Function],
"getAllByAltText": [Function],
"getAllByDisplayValue": [Function],
"getAllByLabelText": [Function],
"getAllByPlaceholderText": [Function],
"getAllByRole": [Function],
"getAllByTestId": [Function],
"getAllByText": [Function],
"getAllByTitle": [Function],
"getByAltText": [Function],
"getByDisplayValue": [Function],
"getByLabelText": [Function],
"getByPlaceholderText": [Function],
"getByRole": [Function],
"getByTestId": [Function],
"getByText": [Function],
"getByTitle": [Function],
"queryAllByAltText": [Function],
"queryAllByDisplayValue": [Function],
"queryAllByLabelText": [Function],
"queryAllByPlaceholderText": [Function],
"queryAllByRole": [Function],
"queryAllByTestId": [Function],
"queryAllByText": [Function],
"queryAllByTitle": [Function],
"queryByAltText": [Function],
"queryByDisplayValue": [Function],
"queryByLabelText": [Function],
"queryByPlaceholderText": [Function],
"queryByRole": [Function],
"queryByTestId": [Function],
"queryByText": [Function],
"queryByTitle": [Function],
"rerender": [Function],
"unmount": [Function],
}
`;

exports[`csr snapshot test > csr test src/dropdown/_example/left.jsx 1`] = `
{
"asFragment": [Function],
Expand Down
2 changes: 2 additions & 0 deletions test/snap/__snapshots__/ssr.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ exports[`ssr snapshot test > ssr test src/dropdown/_example/custom.jsx 1`] = `"<

exports[`ssr snapshot test > ssr test src/dropdown/_example/disabled.jsx 1`] = `"<button type=\\"button\\" class=\\"t-button t-button--theme-default t-button--variant-text\\"><span class=\\"t-button__text\\">更多</span><span class=\\"t-button__suffix\\"><svg class=\\"t-icon t-icon-chevron-down\\" style=\\"font-size:16\\"><use xlink:href=\\"#t-icon-chevron-down\\"></use></svg></span></button>"`;

exports[`ssr snapshot test > ssr test src/dropdown/_example/icon.jsx 1`] = `"<button type=\\"button\\" class=\\"t-button t-button--theme-default t-button--variant-text\\"><span class=\\"t-button__text\\">更多</span><span class=\\"t-button__suffix\\"><svg class=\\"t-icon t-icon-chevron-down\\" style=\\"font-size:16\\"><use xlink:href=\\"#t-icon-chevron-down\\"></use></svg></span></button>"`;

exports[`ssr snapshot test > ssr test src/dropdown/_example/left.jsx 1`] = `"<button type=\\"button\\" class=\\"t-button t-button--theme-default t-button--variant-text\\"><span class=\\"t-button__text\\">更多</span><span class=\\"t-button__suffix\\"><svg class=\\"t-icon t-icon-chevron-down\\" style=\\"font-size:16\\"><use xlink:href=\\"#t-icon-chevron-down\\"></use></svg></span></button>"`;

exports[`ssr snapshot test > ssr test src/dropdown/_example/long.jsx 1`] = `"<button type=\\"button\\" class=\\"t-button t-button--theme-primary t-button--variant-base\\"><span class=\\"t-button__text\\">hover我试试</span></button>"`;
Expand Down

0 comments on commit 7ae2b56

Please sign in to comment.