e2ed
Version:
E2E testing framework over Playwright
18 lines (17 loc) • 626 B
TypeScript
import type { Brand } from './brand';
/**
* Absolute path to some directory.
*/
export type AbsolutePathToDirectory = Brand<string, 'AbsolutePathToDirectory'>;
/**
* Path to the directory from project root (for example "autotests/tests").
*/
export type DirectoryPathFromRoot = Brand<string, 'DirectoryPathFromRoot'>;
/**
* Path to the file from project root (for example "autotests/packs/allTests.ts").
*/
export type FilePathFromRoot = Brand<string, 'FilePathFromRoot'>;
/**
* Relative file path for files with tests or tasks from project root directory.
*/
export type TestFilePath = Brand<string, 'TestFilePath'>;