mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
21 lines
596 B
Vue
21 lines
596 B
Vue
<script setup lang="ts">
|
|
import { finished } from '~/composables/client/state'
|
|
import { explorerTree } from '~/composables/explorer'
|
|
import TestFilesEntry from './TestFilesEntry.vue'
|
|
import TestsEntry from './TestsEntry.vue'
|
|
</script>
|
|
|
|
<template>
|
|
<div gap-0 flex="~ col gap-4" h-full justify-center items-center>
|
|
<template v-if="explorerTree.summary.files === 0 && finished">
|
|
<div class="text-gray-5">
|
|
No tests found
|
|
</div>
|
|
</template>
|
|
<section aria-labelledby="tests" m="y-4 x-2">
|
|
<TestsEntry />
|
|
</section>
|
|
<TestFilesEntry />
|
|
</div>
|
|
</template>
|