mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
chore: update
This commit is contained in:
parent
05f8a29060
commit
e8764efe27
3
test/fixtures/suspense/pages/index.vue
vendored
3
test/fixtures/suspense/pages/index.vue
vendored
@ -15,8 +15,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
function trigger () {
|
async function trigger () {
|
||||||
document.getElementById('btn-a').click()
|
document.getElementById('btn-a').click()
|
||||||
|
await new Promise(resolve => setTimeout(resolve, 10))
|
||||||
document.getElementById('btn-b').click()
|
document.getElementById('btn-b').click()
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
2
test/fixtures/suspense/pages/target.vue
vendored
2
test/fixtures/suspense/pages/target.vue
vendored
@ -7,5 +7,5 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
await new Promise(resolve => setTimeout(resolve, 100))
|
await new Promise(resolve => setTimeout(resolve, 200))
|
||||||
</script>
|
</script>
|
||||||
|
@ -13,7 +13,7 @@ await Promise.all([
|
|||||||
// clear nuxt build files
|
// clear nuxt build files
|
||||||
...dirs.map(dir => fs.remove(`${dir}/.nuxt`)),
|
...dirs.map(dir => fs.remove(`${dir}/.nuxt`)),
|
||||||
// clear vite cache
|
// clear vite cache
|
||||||
...dirs.map(dir => fs.remove(`${dir}/node_modules/.vite`), { force: true })
|
...dirs.map(dir => fs.remove(`${dir}/node_modules/.cache`), { force: true })
|
||||||
])
|
])
|
||||||
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
|
Loading…
Reference in New Issue
Block a user