feat(Search): add action-text prop (#4501)

This commit is contained in:
neverland
2019-09-19 11:17:16 +08:00
committed by GitHub
parent a4b5f94232
commit 95c9fea1f7
6 changed files with 46 additions and 10 deletions
+11
View File
@@ -104,3 +104,14 @@ test('right-icon slot', () => {
expect(wrapper).toMatchSnapshot();
});
test('action-text prop', () => {
const wrapper = mount(Search, {
propsData: {
actionText: 'Custom Text',
showAction: true
}
});
expect(wrapper).toMatchSnapshot();
});