Skip to content

Commit

Permalink
修复单测
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhua committed Feb 23, 2024
1 parent 2673d34 commit 968f754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('remark-media-card', () => {
expect(queryByText(bookDiv, '其他:支持')).toBeTruthy();
expect(bookDiv.querySelector('.media-card-introduction')).toBeTruthy();
expect(
bookDiv.querySelector('.media-card-cover')?.getAttribute('src'),
bookDiv.querySelector('.media-card-cover img')?.getAttribute('src'),
).toBe('./1.jpg');
expect(bookDiv.querySelector('a')).toBeTruthy();

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@zhouhua-dev/remark-media-card",
"version": "1.1.3",
"description": "",
"description": "remark plugin to support media card",
"license": "MIT",
"homepage": "https://github.com/zhouhua/remark-media-card",
"repository": {
Expand Down

0 comments on commit 968f754

Please sign in to comment.