Skip to content

Commit b56c763

Browse files
committed
updated test unit
1 parent 29a6064 commit b56c763

10 files changed

+10
-10
lines changed

tests/component/component.custom.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import VueNumber from '../../src/component.vue'
2+
import { component as VueNumber } from '../../src'
33

44
describe('VueNumber custom config', () => {
55
test('should emit input event with the new maskedValue and unmaskedValue on input', async () => {

tests/component/component.minimumFractionDigits.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import VueNumber from '../../src/component.vue'
2+
import { component as VueNumber } from '../../src'
33

44
describe('VueNumber with minimum fraction digits', () => {
55
test('should emit input event with the new maskedValue and unmaskedValue on input', async () => {

tests/component/component.range.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import VueNumber from '../../src/component.vue'
2+
import { component as VueNumber } from '../../src'
33

44
describe('VueNumber within range', () => {
55
test('should emit input event with the new maskedValue and unmaskedValue on input', async () => {

tests/component/component.reverseFill.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import VueNumber from '../../src/component.vue'
2+
import { component as VueNumber } from '../../src'
33

44
describe('VueNumber reverse fill', () => {
55
test('should emit input event with the new maskedValue and unmaskedValue on input', async () => {

tests/component/component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import VueNumber from '../../src/component.vue'
2+
import { component as VueNumber } from '../../src'
33

44
describe('VueNumber', () => {
55
it('renders an input element', () => {

tests/directive/directive.custom.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import directive from '../../src/directive'
2+
import { directive } from '../../src'
33

44
describe('v-number directive', () => {
55
it('should emit input event with the new value on input', async () => {

tests/directive/directive.minimumFractionDigits.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import directive from '../../src/directive'
2+
import { directive } from '../../src'
33

44
describe('v-number directive', () => {
55
test('should emit input event with minimum fraction digits', async () => {

tests/directive/directive.range.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import directive from '../../src/directive'
2+
import { directive } from '../../src'
33

44
describe('v-number directive', () => {
55
it('should emit input event within range', async () => {

tests/directive/directive.reverseFill.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import directive from '../../src/directive'
2+
import { directive } from '../../src'
33

44
describe('v-number directive', () => {
55
it('should emit input event with reverse fill', async () => {

tests/directive/directive.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { mount } from '@vue/test-utils'
2-
import directive from '../../src/directive'
2+
import { directive } from '../../src'
33

44
describe('v-number directive', () => {
55
it('should emit input event with the new value on input', async () => {

0 commit comments

Comments
 (0)