bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
36 lines (35 loc) • 1.32 kB
TypeScript
import CommandHelper from './e2e-command-helper';
import FsHelper from './e2e-fs-helper';
import ScopeHelper from './e2e-scope-helper';
import FixtureHelper from './e2e-fixtures-helper';
import ScopesData from './e2e-scopes';
export default class EnvHelper {
command: CommandHelper;
fs: FsHelper;
fixtures: FixtureHelper;
scopes: ScopesData;
scopeHelper: ScopeHelper;
compilerCreated: boolean;
dummyCompilerCreated: boolean;
dummyTesterCreated: boolean;
constructor(command: CommandHelper, fsHelper: FsHelper, scopes: ScopesData, scopeHelper: ScopeHelper, fixtures: FixtureHelper);
importCompiler(id?: string): string;
importTypescriptCompiler(version?: string): string;
getTypeScriptSettingsForES5(): {
rawConfig: {
tsconfig: {
compilerOptions: {
target: string;
module: string;
};
};
};
};
importDummyCompiler(dummyType?: string): string;
changeDummyCompilerCode(originalCode: string, replaceTo: string): void;
importDummyTester(dummyType?: string): string;
importTester(id?: string): void;
createDummyCompiler(dummyType?: string): boolean;
createDummyTester(dummyType: string): string | true;
createCompiler(): string | true;
}