From b824ccc9e203435879897653abf26b2c5053214d Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Sat, 7 Oct 2023 16:10:22 +0800 Subject: [PATCH] test: update the test case based on the latest default config --- test/edgeCases.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/edgeCases.spec.ts b/test/edgeCases.spec.ts index fe89df2a..cc929900 100644 --- a/test/edgeCases.spec.ts +++ b/test/edgeCases.spec.ts @@ -251,7 +251,7 @@ test('should pass correct options to template compiler', async () => { await mockBundleAndRun({ entry: 'basic.vue', modify: (config: any) => { - config.module.rules[0].options = { + config.module.rules[0].use[0].options = { compiler: fakeCompiler, } config.module.rules.push(