+
+
+
+ {{ msg }}
+
+
+
+
diff --git a/e2e/2.x/basic/package.json b/e2e/2.x/basic/package.json
index 569e29da..6617f4c8 100644
--- a/e2e/2.x/basic/package.json
+++ b/e2e/2.x/basic/package.json
@@ -7,8 +7,8 @@
"test": "jest --no-cache --coverage test.js"
},
"dependencies": {
- "vue": "^2.5.21",
- "vue-template-compiler": "^2.5.21"
+ "vue": "^2.7.7",
+ "vue-template-compiler": "^2.7.7"
},
"devDependencies": {
"@babel/core": "^7.9.0",
diff --git a/e2e/2.x/basic/test.js b/e2e/2.x/basic/test.js
index 03c124d0..2a0ef24a 100644
--- a/e2e/2.x/basic/test.js
+++ b/e2e/2.x/basic/test.js
@@ -20,6 +20,7 @@ import PugRelative from './components/PugRelativeExtends.vue'
import Jsx from './components/Jsx.vue'
import Constructor from './components/Constructor.vue'
import { compileStyle } from '@vue/component-compiler-utils'
+import ScriptSetup from './components/ScriptSetup'
jest.mock('@vue/component-compiler-utils', () => ({
...jest.requireActual('@vue/component-compiler-utils'),
compileStyle: jest.fn(() => ({ errors: [], code: '' }))
@@ -156,6 +157,12 @@ test('processes SFC with no template', () => {
expect(wrapper.element.tagName).toBe('SECTION')
})
+test('processes SFC with