MCPcopy
hub / github.com/bugy/script-server / assertLoading

Function assertLoading

web-src/tests/unit/scriptConfig_test.js:440–443  ·  view source on GitHub ↗
(paramName, expectedValue)

Source from the content-addressed store, hash-verified

438 })
439
440 function assertLoading(paramName, expectedValue) {
441 const dependantParam = store.state.scriptConfig.parameters.find(p => p.name === paramName)
442 expect(dependantParam.loading || false).toEqual(expectedValue)
443 }
444
445 async function prepareMultiDependantConfig() {
446 const config = createConfig([{

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected