MCPcopy
hub / github.com/monkeytypegame/monkeytype / copySolidPlugin

Function copySolidPlugin

vitest.config.ts:47–53  ·  view source on GitHub ↗

* Tests for solidJs need the solid plugin to run on config level and on test level. idk why

(config: UserWorkspaceConfig)

Source from the content-addressed store, hash-verified

45 * Tests for solidJs need the solid plugin to run on config level and on test level. idk why
46 */
47function copySolidPlugin(config: UserWorkspaceConfig): void {
48 if (!config.plugins) return;
49 config.plugins
50 //@ts-expect-error this is fine
51 .filter((it) => it?.name === "solid")
52 .forEach((it) => globalPlugins.push(it));
53}

Callers 1

convertTestsFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected