MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / optionsMenu

Function optionsMenu

ui/plugins/ui/jasmine/jasmine-html.js:466–570  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

464 }
465
466 function optionsMenu(config) {
467 const optionsMenuDom = createDom(
468 "div",
469 { className: "jasmine-run-options" },
470 createDom("span", { className: "jasmine-trigger" }, "Options"),
471 createDom(
472 "div",
473 { className: "jasmine-payload" },
474 createDom(
475 "div",
476 { className: "jasmine-stop-on-failure" },
477 createDom("input", {
478 className: "jasmine-fail-fast",
479 id: "jasmine-fail-fast",
480 type: "checkbox",
481 }),
482 createDom(
483 "label",
484 { className: "jasmine-label", for: "jasmine-fail-fast" },
485 "stop execution on spec failure"
486 )
487 ),
488 createDom(
489 "div",
490 { className: "jasmine-throw-failures" },
491 createDom("input", {
492 className: "jasmine-throw",
493 id: "jasmine-throw-failures",
494 type: "checkbox",
495 }),
496 createDom(
497 "label",
498 { className: "jasmine-label", for: "jasmine-throw-failures" },
499 "stop spec on expectation failure"
500 )
501 ),
502 createDom(
503 "div",
504 { className: "jasmine-random-order" },
505 createDom("input", {
506 className: "jasmine-random",
507 id: "jasmine-random-order",
508 type: "checkbox",
509 }),
510 createDom(
511 "label",
512 { className: "jasmine-label", for: "jasmine-random-order" },
513 "run tests in random order"
514 )
515 ),
516 createDom(
517 "div",
518 { className: "jasmine-hide-disabled" },
519 createDom("input", {
520 className: "jasmine-disabled",
521 id: "jasmine-hide-disabled",
522 type: "checkbox",
523 }),

Callers 1

HtmlReporterFunction · 0.85

Calls 1

createDomFunction · 0.85

Tested by

no test coverage detected