@stencil/core
Version:
A Compiler for Web Components and Progressive Web Apps
11 lines (10 loc) • 701 B
TypeScript
import type { BuildCtx, Cache, CompilerCtx, CompilerSystem, Config } from '@stencil/core/internal';
import { TestingLogger } from './testing-logger';
export declare function mockConfig(sys?: CompilerSystem): Config;
export declare function mockCompilerCtx(config?: Config): CompilerCtx;
export declare function mockBuildCtx(config?: Config, compilerCtx?: CompilerCtx): BuildCtx;
export declare function mockCache(config?: Config, compilerCtx?: CompilerCtx): Cache;
export declare function mockLogger(): TestingLogger;
export declare function mockStencilSystem(): CompilerSystem;
export declare function mockDocument(html?: string): Document;
export declare function mockWindow(html?: string): Window;