MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / _resetRuntimeConfigForTests

Function _resetRuntimeConfigForTests

src/runtime-config.js:132–135  ·  view source on GitHub ↗
(patch = {})

Source from the content-addressed store, hash-verified

130}
131
132export function _resetRuntimeConfigForTests(patch = {}) {
133 _state = deepMerge(structuredClone(DEFAULTS), patch);
134 return getRuntimeConfig();
135}
136
137export function getExperimental() {
138 return { ...(_state.experimental || {}) };

Callers 1

Calls 2

deepMergeFunction · 0.85
getRuntimeConfigFunction · 0.85

Tested by

no test coverage detected