Files
url_tracker_tool/node_modules/uvu/index.d.ts
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

28 lines
751 B
TypeScript

declare namespace uvu {
type Crumbs = { __suite__: string; __test__: string };
type Callback<T> = (context: T & Crumbs) => Promise<void> | void;
interface Hook<T> {
(hook: Callback<T>): void;
each(hook: Callback<T>): void;
}
interface Test<T> {
(name: string, test: Callback<T>): void;
only(name: string, test: Callback<T>): void;
skip(name?: string, test?: Callback<T>): void;
before: Hook<T>;
after: Hook<T>
run(): void;
}
}
type Context = Record<string, any>;
export type Test<T=Context> = uvu.Test<T>;
export type Callback<T=Context> = uvu.Callback<T>;
export const test: uvu.Test<Context>;
export function suite<T=Context>(title?: string, context?: T): uvu.Test<T>;
export function exec(bail?: boolean): Promise<void>;