Skip to content

Commit

Permalink
【fix】ut review by qiwei
Browse files Browse the repository at this point in the history
  • Loading branch information
shallowdream218 committed Jan 31, 2024
1 parent 76be909 commit 5ad3ff1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/_mixin/__tests__/Theme.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Theme.ts', () => {
SmButton
}
});
expect(wrapper.text()).toBe('按 钮');
expect(wrapper.text()).toBe('按钮');
expect(wrapper.vm.$children[0].getBackgroundStyle.background).toBe('#fff');
expect(wrapper.vm.$children[0].getTextColorStyle.color).toBe('rgba(0, 0, 0, 0.65)');
expect(wrapper.vm.$children[0].collapseCardHeaderBgStyle.background).toBe('#F4F4F4');
Expand Down
2 changes: 1 addition & 1 deletion src/common/button/__tests__/button.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Button.vue', () => {
SmButton
}
});
expect(wrapper.text()).toBe('按 钮');
expect(wrapper.text()).toBe('按钮');
});

it('render index correctly', () => {
Expand Down

0 comments on commit 5ad3ff1

Please sign in to comment.