We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c078633 commit b3de889Copy full SHA for b3de889
packages/@vue/cli-service/__tests__/modernMode.spec.js
@@ -25,6 +25,8 @@ test('modern mode', async () => {
25
// arrow function should be reserved in the modern build
26
const app = await project.read(`dist/js/${files.find(f => /^app\.\w{8}\.js$/.test(f))}`)
27
expect(app).toMatch(/=>/)
28
+ const legacyApp = await project.read(`dist/js/${files.find(f => /^app-legacy\.\w{8}\.js$/.test(f))}`)
29
+ expect(legacyApp).not.toMatch(/=>/)
30
31
// assert correct asset links
32
const index = await project.read('dist/index.html')
0 commit comments