MCPcopy Index your code
hub / github.com/bugy/script-server / clickOnParam

Function clickOnParam

web-src/tests/unit/admin/ParameterList_test.js:59–65  ·  view source on GitHub ↗
(paramName)

Source from the content-addressed store, hash-verified

57 }
58
59 function clickOnParam(paramName) {
60 let paramItem = findParamItem(paramName);
61 expect(paramItem).not.toBeNil()
62
63 const index = list.$children.indexOf(paramItem);
64 M.Collapsible.getInstance(list.$el).open(index);
65 }
66
67 function assertOpen(paramName) {
68 let paramItem = findParamItem(paramName);

Callers 1

Calls 2

findParamItemFunction · 0.85
openMethod · 0.45

Tested by

no test coverage detected