Skip to content

Commit ad07de6

Browse files
committed
fix missing quote addHook tests
1 parent 482e0e1 commit ad07de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/unit/VueJSComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function testAddHook(){
2929
$this->testVueJSComponent();
3030
$this->component->onActivated("console.log('component activated');");
3131
$this->component->onDeactivated("console.log('component deactivated')");
32-
$script="Vue.component('test',{props: ['test,'test1'],methods: {
32+
$script="Vue.component('test',{props: ['test','test1'],methods: {
3333
methodTest: function(){console.log('ok')}
3434
},activated: function(){console.log('component activated');},deactivated: function(){console.log('component deactivated')},
3535
template: '<form method='post'> <input type='text' placeholder='test'/> <input type='submit' value='Send'/> </form>'})";

0 commit comments

Comments
 (0)