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.
547 B · 36 lines
TypeScript
at v1
12345678910111213141516171819202122232425262728293031323334353637/* * This file should have: * - 5 functions in total * - 3 covered functions * - 2 uncovered functions */
/* eslint-disable unused-imports/no-unused-vars */
// This function is coveredfunction first() { return 1}
first()
// This function is coveredexport function second() { fifth() return 2}
// This function is NOT coveredexport function third() { throw new Error('Do not call this function')}
// This function is NOT coveredfunction fourth() { return 4}
// This function is coveredfunction fifth() { return 5}