MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / fakeCompilerInfo

Function fakeCompilerInfo

test/options-handler.ts:133–144  ·  view source on GitHub ↗
(id: string, lang: string, group: string, semver: string, isSemver: boolean)

Source from the content-addressed store, hash-verified

131};
132
133const fakeCompilerInfo = (id: string, lang: string, group: string, semver: string, isSemver: boolean) => {
134 return makeFakeCompilerInfo({
135 id: id,
136 exe: '/dev/null',
137 name: id,
138 lang: lang as LanguageKey,
139 group: group,
140 isSemVer: isSemver,
141 semver: semver,
142 libsArr: [],
143 });
144};
145
146class TestBaseCompiler extends BaseCompiler {
147 getSupportedLibrariesTest() {

Callers 1

options-handler.tsFile · 0.85

Calls 1

makeFakeCompilerInfoFunction · 0.70

Tested by

no test coverage detected