Skip to main content
Glama
utils.d.ts1.27 kB
import { S as Suite, T as Task, a as Test, C as Custom } from './tasks-K5XERDtv.js'; export { b as ChainableFunction, c as createChainable } from './tasks-K5XERDtv.js'; import { Arrayable } from '@vitest/utils'; /** * If any tasks been marked as `only`, mark all other tasks as `skip`. */ declare function interpretTaskModes(suite: Suite, namePattern?: string | RegExp, onlyMode?: boolean, parentIsOnly?: boolean, allowOnly?: boolean): void; declare function someTasksAreOnly(suite: Suite): boolean; declare function generateHash(str: string): string; declare function calculateSuiteHash(parent: Suite): void; /** * Partition in tasks groups by consecutive concurrent */ declare function partitionSuiteChildren(suite: Suite): Task[][]; declare function getTests(suite: Arrayable<Task>): (Test | Custom)[]; declare function getTasks(tasks?: Arrayable<Task>): Task[]; declare function getSuites(suite: Arrayable<Task>): Suite[]; declare function hasTests(suite: Arrayable<Suite>): boolean; declare function hasFailed(suite: Arrayable<Task>): boolean; declare function getNames(task: Task): string[]; export { calculateSuiteHash, generateHash, getNames, getSuites, getTasks, getTests, hasFailed, hasTests, interpretTaskModes, partitionSuiteChildren, someTasksAreOnly };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mnehmos/mnehmos.synch.mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server