From 339162ed34df7d8af8e3d7aab21f35d913c42650 Mon Sep 17 00:00:00 2001 From: harlan Date: Tue, 3 Sep 2024 19:40:13 +1000 Subject: [PATCH] chore: fix test --- test/fixtures/basic/pages/bundle-use-script.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/basic/pages/bundle-use-script.vue b/test/fixtures/basic/pages/bundle-use-script.vue index e3a15e44..bcb87a30 100644 --- a/test/fixtures/basic/pages/bundle-use-script.vue +++ b/test/fixtures/basic/pages/bundle-use-script.vue @@ -19,7 +19,7 @@ const scriptSrc = ref('https://code.jquery.com/jquery-3.6.0.min.js') $script.then(async () => { const head = injectHead() const tags = await head.resolveTags() - scriptSrc.value = tags[0].props.src + scriptSrc.value = tags.filter(s => s.tag === 'script')[0].props.src }) myScript('test')