test: fix script setup directive test

This commit is contained in:
Evan You
2021-06-28 18:55:27 -04:00
parent 211793d376
commit fd7fa6f694
2 changed files with 4 additions and 4 deletions

View File

@@ -304,7 +304,7 @@ exports[`SFC compile <script setup> inlineTemplate mode referencing scope compon
import ChildComp from './Child.vue'
import SomeOtherComp from './Other.vue'
import myDir from './my-dir'
import vMyDir from './my-dir'
export default {
setup(__props) {
@@ -313,7 +313,7 @@ export default {
return (_ctx, _cache) => {
return (_openBlock(), _createBlock(_Fragment, null, [
_withDirectives(_createVNode(\\"div\\", null, null, 512 /* NEED_PATCH */), [
[_unref(myDir)]
[_unref(vMyDir)]
]),
_createVNode(ChildComp),
_createVNode(SomeOtherComp)