diff --git a/packages/vue-compat/__tests__/global.spec.ts b/packages/vue-compat/__tests__/global.spec.ts index fcbdefa2f..5f19be891 100644 --- a/packages/vue-compat/__tests__/global.spec.ts +++ b/packages/vue-compat/__tests__/global.spec.ts @@ -500,3 +500,11 @@ test('local app config should not affect other local apps in v3 mode', () => { const app2 = createApp({}) expect(app2.config.globalProperties.test).toBe(undefined) }) + +test('ATTR_ENUMERATED_COERCION: false', () => { + const vm = new Vue({ + compatConfig: { ATTR_ENUMERATED_COERCION: true }, + template: `
hello
`, + }).$mount() + expect(vm.$el.innerHTML).toBe(`
hello
`) +})