Skip to content

Commit cb84ceb

Browse files
authored
fix(runtime): handle optional chaining vueWrapper plugin installed check (#1547)
1 parent a3b2ede commit cb84ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/shared/vue-wrapper-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const PLUGIN_NAME = 'nuxt-test-utils'
77

88
export function getVueWrapperPlugin(): Options {
99
const installed = config.plugins.VueWrapper.installedPlugins
10-
.find(({ options }) => options._name === PLUGIN_NAME)
10+
.find(({ options }) => options?._name === PLUGIN_NAME)
1111

1212
if (installed) return installed.options
1313

0 commit comments

Comments
 (0)