testplane
Version:
Tests framework based on mocha and wdio
27 lines (26 loc) • 928 B
TypeScript
export interface NormalizedDependencies {
/** Project-wide styles */
css: string[];
/** Project-wide scripts */
js: string[];
/** Module names from node_modules (e.g. "react", "@remix-run/router") */
modules: string[];
/** Reference paths */
png: string[];
}
export declare const Compression: {
readonly NONE: "none";
readonly GZIP: "gz";
readonly BROTLI: "br";
readonly ZSTD: "zstd";
};
export type SelectivityCompressionType = (typeof Compression)[keyof typeof Compression];
export type HashFileContents = {
files: Record<string, string>;
modules: Record<string, string>;
patterns: Record<string, string>;
};
export type TestDependenciesFileContents = Record<string, Record<string, NormalizedDependencies>>;
export type CachedOnFs = true;
export type ActualValue = string;
export type SelectivityAssetState = null | Promise<CachedOnFs | ActualValue | Error | null>;