From dca7a95bd13fd5941f5da7cae7e218780bd8dc95 Mon Sep 17 00:00:00 2001 From: wuxh Date: Wed, 18 Oct 2023 13:46:08 +0800 Subject: [PATCH] test: add test case --- tests/uploader.spec.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/uploader.spec.js b/tests/uploader.spec.js index d224bbd..937a189 100644 --- a/tests/uploader.spec.js +++ b/tests/uploader.spec.js @@ -850,4 +850,9 @@ describe('uploader', () => { expect(requests[0].url).toEqual('bamboo'); }); + + it('props: innerStyle', () => { + const wrapper = mount(); + expect(wrapper.find('input').props().style.color).toBe('red'); + }); });