mirror of
https://github.com/soconnor0919/beenpad.git
synced 2026-02-05 08:16:37 -05:00
58 lines
1.6 KiB
TypeScript
58 lines
1.6 KiB
TypeScript
import { FileSpecification } from '@vitest/runner';
|
|
import { T as TestExecutionMethod } from './worker.d.B4A26qg6.js';
|
|
|
|
type SerializedTestSpecification = [project: {
|
|
name: string | undefined;
|
|
root: string;
|
|
}, file: string, options: {
|
|
pool: string;
|
|
testLines?: number[] | undefined;
|
|
}];
|
|
|
|
interface ModuleDefinitionLocation {
|
|
line: number;
|
|
column: number;
|
|
}
|
|
interface SourceModuleLocations {
|
|
modules: ModuleDefinitionDiagnostic[];
|
|
untracked: ModuleDefinitionDiagnostic[];
|
|
}
|
|
interface ModuleDefinitionDiagnostic {
|
|
start: ModuleDefinitionLocation;
|
|
end: ModuleDefinitionLocation;
|
|
startIndex: number;
|
|
endIndex: number;
|
|
rawUrl: string;
|
|
resolvedUrl: string;
|
|
resolvedId: string;
|
|
}
|
|
interface ModuleDefinitionDurationsDiagnostic extends ModuleDefinitionDiagnostic {
|
|
selfTime: number;
|
|
totalTime: number;
|
|
transformTime?: number;
|
|
external?: boolean;
|
|
importer?: string;
|
|
}
|
|
interface UntrackedModuleDefinitionDiagnostic {
|
|
url: string;
|
|
resolvedId: string;
|
|
resolvedUrl: string;
|
|
selfTime: number;
|
|
totalTime: number;
|
|
transformTime?: number;
|
|
external?: boolean;
|
|
importer?: string;
|
|
}
|
|
interface SourceModuleDiagnostic {
|
|
modules: ModuleDefinitionDurationsDiagnostic[];
|
|
untrackedModules: UntrackedModuleDefinitionDiagnostic[];
|
|
}
|
|
|
|
interface BrowserTesterOptions {
|
|
method: TestExecutionMethod;
|
|
files: FileSpecification[];
|
|
providedContext: string;
|
|
}
|
|
|
|
export type { BrowserTesterOptions as B, ModuleDefinitionDurationsDiagnostic as M, SerializedTestSpecification as S, UntrackedModuleDefinitionDiagnostic as U, ModuleDefinitionDiagnostic as a, ModuleDefinitionLocation as b, SourceModuleDiagnostic as c, SourceModuleLocations as d };
|