Skip to content

Commit e568602

Browse files
committed
fix: Adds a template to observer spec Vue instance to fix failing spec.
fix vuejs#8129
1 parent 3aea4dd commit e568602

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/modules/observer/observer.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ describe('Observer', () => {
318318

319319
it('Cannot enable reactivity on a property that is already defined', done => {
320320
const vm = new Vue({
321+
template: '<div></div>',
321322
data: {
322323
person: {
323324
age: 32

0 commit comments

Comments
 (0)