[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

chore(runner): export `isAtomTest` utility (#5905)

authored by

Joaquín Sánchez and committed by
GitHub
(Jun 17, 2024, 1:18 PM +0200) 0dda80e4 24e30c89

+1 -1
+1 -1
packages/runner/src/utils/tasks.ts
··· 1 1 import { type Arrayable, toArray } from '@vitest/utils' 2 2 import type { Custom, Suite, Task, Test } from '../types' 3 3 4 - function isAtomTest(s: Task): s is Test | Custom { 4 + export function isAtomTest(s: Task): s is Test | Custom { 5 5 return s.type === 'test' || s.type === 'custom' 6 6 } 7 7