diff --git a/test/components/Callbacks.vue b/test/components/Callbacks.vue
index 8c2ae28..b6dda1a 100644
--- a/test/components/Callbacks.vue
+++ b/test/components/Callbacks.vue
@@ -1,8 +1,12 @@
-
-
+
+
+ {{ bound1 }}
+ {{ bound2 }}
diff --git a/test/directive.test.ts b/test/directive.test.ts
index ffe209c..26c867d 100644
--- a/test/directive.test.ts
+++ b/test/directive.test.ts
@@ -255,7 +255,7 @@ test('callbacks', async () => {
expect(wrapper.emitted('mask1')).toHaveLength(2)
expect(wrapper.emitted('mask1')[1][0]).toHaveProperty('completed', true)
- await input2.setValue('1')
+ await input2.setValue('3')
expect(wrapper.emitted()).toHaveProperty('mask2')
expect(wrapper.emitted()).toHaveProperty('mask3')
expect(wrapper.emitted('mask2')).toHaveLength(1)
@@ -263,11 +263,14 @@ test('callbacks', async () => {
expect(wrapper.emitted('mask2')[0][0]).toHaveProperty('completed', false)
expect(wrapper.emitted('mask3')[0][0]).toHaveProperty('completed', false)
- await input2.setValue('12')
+ await input2.setValue('34')
expect(wrapper.emitted('mask2')).toHaveLength(2)
expect(wrapper.emitted('mask3')).toHaveLength(2)
expect(wrapper.emitted('mask2')[1][0]).toHaveProperty('completed', true)
expect(wrapper.emitted('mask3')[1][0]).toHaveProperty('completed', true)
+
+ expect(wrapper.get('.bound1').element.textContent).toBe('1-2')
+ expect(wrapper.get('.bound2').element.textContent).toBe('3-4')
})
test('options api component', async () => {