devtools/client/debugger/new/src/components/test/__snapshots__/ShortcutsModal.spec.js.snap
author Noemi Erli <nerli@mozilla.com>
Tue, 09 Apr 2019 19:04:30 +0300
changeset 468634 86b54cfca31f806cc151bddc96d228aafb71f988
parent 468625 devtools/client/debugger/src/components/test/__snapshots__/ShortcutsModal.spec.js.snap@ca42d5764b089097bd34b7f6fef770bc46c2d675
permissions -rw-r--r--
Backed out changeset ca42d5764b08 (bug 1500987) for failures in browser_dbg_worker-console-04.js

// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`ShortcutsModal renders when enabled 1`] = `
<Slide
  additionalClass="shortcuts-modal"
  handleClose={[MockFunction]}
  in={true}
>
  <div
    className="shortcuts-content"
  >
    <div
      className="shortcuts-section"
    >
      <h2>
        Editor
      </h2>
      <ul
        className="shortcuts-list"
      >
        <li>
          <span>
            Toggle Breakpoint
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+B"
            >
              Ctrl+B
            </span>
          </span>
        </li>
        <li>
          <span>
            Edit Conditional Breakpoint
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+Shift+B"
            >
              Ctrl+Shift+B
            </span>
          </span>
        </li>
        <li>
          <span>
            Edit Log Point
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+Shift+Y"
            >
              Ctrl+Shift+Y
            </span>
          </span>
        </li>
      </ul>
    </div>
    <div
      className="shortcuts-section"
    >
      <h2>
        Stepping
      </h2>
      <ul
        className="shortcuts-list"
      >
        <li>
          <span>
            Pause/Resume
          </span>
          <span>
            <span
              className="keystroke"
              key="F8"
            >
              F8
            </span>
          </span>
        </li>
        <li>
          <span>
            Step Over
          </span>
          <span>
            <span
              className="keystroke"
              key="F10"
            >
              F10
            </span>
          </span>
        </li>
        <li>
          <span>
            Step In
          </span>
          <span>
            <span
              className="keystroke"
              key="F11"
            >
              F11
            </span>
          </span>
        </li>
        <li>
          <span>
            Step Out
          </span>
          <span>
            <span
              className="keystroke"
              key="Shift+F11"
            >
              Shift+F11
            </span>
          </span>
        </li>
      </ul>
    </div>
    <div
      className="shortcuts-section"
    >
      <h2>
        Search
      </h2>
      <ul
        className="shortcuts-list"
      >
        <li>
          <span>
            Go to file
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+P"
            >
              Ctrl+P
            </span>
          </span>
        </li>
        <li>
          <span>
            Find next
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+G"
            >
              Ctrl+G
            </span>
          </span>
        </li>
        <li>
          <span>
            Find in files
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+Shift+F"
            >
              Ctrl+Shift+F
            </span>
          </span>
        </li>
        <li>
          <span>
            Find function
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+Shift+O"
            >
              Ctrl+Shift+O
            </span>
          </span>
        </li>
        <li>
          <span>
            Go to line
          </span>
          <span>
            <span
              className="keystroke"
              key="Ctrl+;"
            >
              Ctrl+;
            </span>
          </span>
        </li>
      </ul>
    </div>
  </div>
</Slide>
`;