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

Function makeSearchable

web-src/tests/unit/combobox_test.js:367–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365
366 describe('Test search', function () {
367 async function makeSearchable() {
368 const values = Array(20).fill(0).map((v, i) => 'Value ' + i);
369 setDeepProp(comboBox, 'config.values', values);
370 await vueTicks();
371
372 comboBox.vm.comboboxWrapper.dropdown.options.inDuration = 1;
373 comboBox.vm.comboboxWrapper.dropdown.options.outDuration = 1;
374
375 return values;
376 }
377
378 function assertVisible(element, visible) {
379 const displayStyle = window.getComputedStyle(element).display;

Callers 1

combobox_test.jsFile · 0.85

Calls 3

setDeepPropFunction · 0.90
vueTicksFunction · 0.90
mapMethod · 0.80

Tested by

no test coverage detected