diff --git a/src/utils.ts b/src/utils.ts index 68391a950..f27368f40 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -26,10 +26,6 @@ function mergeAppConfig( globalProperties: { ...configGlobalConfig?.globalProperties, ...mountGlobalConfig?.globalProperties - }, - compilerOptions: { - ...configGlobalConfig?.compilerOptions, - ...mountGlobalConfig?.compilerOptions } } } diff --git a/tests/features/compat.spec.ts b/tests/features/compat.spec.ts index c01995daa..9a0b9166d 100644 --- a/tests/features/compat.spec.ts +++ b/tests/features/compat.spec.ts @@ -3,13 +3,9 @@ import { mount } from '../../src' jest.mock('vue', () => mockVue) -const { configureCompat, extend, defineComponent, h, config } = mockVue as any +const { configureCompat, extend, defineComponent, h } = mockVue as any describe('@vue/compat build', () => { - beforeAll(() => { - config.compilerOptions.whitespace = 'condense' - }) - describe.each(['suppress-warning', false])( 'when RENDER_FUNCTION compat is %p', (RENDER_FUNCTION) => {