Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44e6f50

Browse files
improve test of tag
1 parent2d9ab9e commit44e6f50

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎components/CaTag/CaTag.spec.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,9 @@ describe('CaTag', () => {
66
constwrapper=shallow(CaTag);
77
expect(wrapper.isVueInstance()).toBeTruthy();
88
});
9+
10+
test('Mathes snapshot',()=>{
11+
constwrapper=shallow(CaTag);
12+
expect(wrapper.html()).toMatchSnapshot()
13+
});
914
})
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CaTag Mathes snapshot 1`]=`<spandata-tag=""class="bx--tag"></span>`;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp