@stencil/core
Version:
A Compiler for Web Components and Progressive Web Apps
13 lines (12 loc) • 662 B
TypeScript
import * as d from '../declarations';
import { TestingFs } from './testing-fs';
import { TestingLogger } from './testing-logger';
export declare function mockConfig(): d.Config;
export declare function mockCompilerCtx(): d.CompilerCtx;
export declare function mockBuildCtx(config?: d.Config, compilerCtx?: d.CompilerCtx): d.BuildCtx;
export declare function mockFs(): TestingFs;
export declare function mockCache(): d.Cache;
export declare function mockLogger(): TestingLogger;
export declare function mockStencilSystem(): d.StencilSystem;
export declare function mockDocument(html?: string): Document;
export declare function mockWindow(html?: string): Window;