diff --git a/src/icon/demo/index.vue b/src/icon/demo/index.vue index 5d0002f3a..4b5f536c7 100644 --- a/src/icon/demo/index.vue +++ b/src/icon/demo/index.vue @@ -29,7 +29,7 @@ - + diff --git a/src/icon/test/__snapshots__/demo.spec.js.snap b/src/icon/test/__snapshots__/demo.spec.js.snap new file mode 100644 index 000000000..86235f9ff --- /dev/null +++ b/src/icon/test/__snapshots__/demo.spec.js.snap @@ -0,0 +1,147 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`should render demo and match snapshot 1`] = ` +
+
+
+
+
+ + + + +
+
+
+
+
+
+
+
+
+
+
+ + +
+
+ + + +
+
+
+
+
+
+ +
+
+
+
+
+ +
+ 9 +
+
+
+
+ +
+ 99+ +
+
+
+
+
+
+
+
+ + +
+
+ + +
+
+
+
+
+
+ + +
+
+ + +
+
+
+
+ + + +
+
+`; diff --git a/src/icon/test/demo.spec.js b/src/icon/test/demo.spec.js new file mode 100644 index 000000000..5c70922b5 --- /dev/null +++ b/src/icon/test/demo.spec.js @@ -0,0 +1,4 @@ +import Demo from '../demo'; +import { snapshotDemo } from '../../../test/demo'; + +snapshotDemo(Demo);