vitest/docs/src/components/FeaturesList.vue
2021-12-13 06:06:41 +08:00

34 lines
1.7 KiB
Vue

<template>
<ul
class="features-list"
dir="auto"
flex="~ col gap-5 md:gap-3"
>
<ListItem><a target="_blank" href="https://vitejs.dev">Vite</a>'s config, transformers, resolvers, and plugins.</ListItem>
<ListItem>Use the same setup from your app to run the tests!</ListItem>
<ListItem><a href="https://twitter.com/antfu7/status/1468233216939245579" target="_blank">Smart & instant watch mode, like HMR for tests!</a></ListItem>
<ListItem>Components testing for Vue, React, Lit and more</ListItem>
<ListItem>Out-of-box TypeScript / JSX support</ListItem>
<ListItem>ESM first, top level await</ListItem>
<ListItem>Workers multi-threading via <a href="https://github.com/piscinajs/piscina" target="_blank">Piscina</a></ListItem>
<ListItem>Filtering, timeouts, concurrent for suite and tests</ListItem>
<ListItem><a target="_blank" href="https://jestjs.io/docs/snapshot-testing" rel="nofollow">Jest Snapshot</a></ListItem>
<ListItem><a target="_blank" href="https://www.chaijs.com/" rel="nofollow">Chai</a> built-in for assertions + <a href="https://jestjs.io/docs/expect" rel="nofollow">Jest expect</a> compatible APIs</ListItem>
<ListItem><a target="_blank" href="https://sinonjs.org/" rel="nofollow">Sinon</a> built-in for mocking</ListItem>
<ListItem><a target="_blank" href="https://github.com/jsdom/jsdom">jsdom</a> or <a target="_blank" href="https://github.com/capricorn86/happy-dom">happy-dom</a> for DOM mocking</ListItem>
<ListItem>Native code coverage via <a target="_blank" href="https://github.com/bcoe/c8">c8</a></ListItem>
</ul>
</template>
<style scoped>
.features-list li {
list-style: none;
display: flex;
gap: 0.4rem;
}
.features-list {
padding: 0;
}
</style>