Skip to content

Commit

Permalink
fix: 修复tagGuide snapshot test
Browse files Browse the repository at this point in the history
  • Loading branch information
不狸 committed Feb 16, 2022
1 parent d034288 commit a1be0cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/f2/test/components/guide/type.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ describe('Guide', () => {
it('TagGuide', async () => {
const context = createContext('TagGuide');
const { props } = (
<Canvas context={context} animate={false}>
<Canvas context={context} animate={false} pixelRatio={1}>
<Chart data={data}>
<Line x="genre" y="sold" />
<TagGuide records={[{ genre: 'Action', sold: 20 }]} direct="tc" content="20" />
Expand Down

0 comments on commit a1be0cf

Please sign in to comment.