perf(runtime-core): use raw context on component options init

This commit is contained in:
Evan You
2020-04-16 10:39:51 -04:00
parent 24e5ab33f5
commit bfd6744fb1
2 changed files with 9 additions and 5 deletions

View File

@@ -627,7 +627,7 @@ describe('api: options', () => {
render(h(Comp), root)
instance.foo = 1
expect(
'Computed property "foo" was assigned to but it has no setter.'
'Write operation failed: computed property "foo" is readonly'
).toHaveBeenWarned()
})