1
0
Эх сурвалжийг харах

fix failing test (JS syntax issue)

Hugo Di Francesco 5 жил өмнө
parent
commit
7a4623b610
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      test/bind.spec.js

+ 2 - 2
test/bind.spec.js

@@ -449,10 +449,10 @@ test('can bind an object of directives', async () => {
         return {
             show: false,
             trigger: {
-                '@click'() { this.show = ! this.show }
+                '@click': function () { this.show = ! this.show }
             },
             dialogue: {
-                'x-show'() { return this.show }
+                ['x-show']() { return this.show }
             },
         }
     }