We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96e79f4 commit fb3beeaCopy full SHA for fb3beea
test/vue-intl-numberformat.spec.js
@@ -0,0 +1,15 @@
1
+const Vue = require('vue');
2
+const VueIntlNumberformat = require('vue-intl-numberformat');
3
+
4
+function getComponent(Component, propsData) {
5
+ const Ctor = Vue.extend(Component);
6
+ return new Ctor({ propsData }).$mount();
7
+}
8
9
+describe('VueIntlNumberformat', () => {
10
+ it('has correct DOM structure', () => {
11
+ const vm = getComponent(VueIntlNumberformat);
12
13
+ expect(vm.$el.nodeName).toBe('SPAN');
14
+ });
15
+});
0 commit comments