Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
12345678910111213141516171819202122232425import { defineComponent, ref } from 'vue'
export default defineComponent({ name: 'Counter',
setup() { const count = ref(0) return { count } },
methods: { uncoveredMethod() { return 'This line should not be covered' },
coveredMethod() { return 'This line should be covered' },
uncoveredMethodUsingImportMeta() { return `Source maps tend to break when import meta is used: ${import.meta.env.BASE_URL}` }, },})