UNPKG

@netatwork/mocha-utils

Version:

Utility package for mocha based test setup

74 lines (60 loc) 1.12 kB
:root { --teal: rgb(0, 128, 128); --red: rgb(255, 0, 0); --smokewhite: rgb(245, 245, 245); } body { background-color: var(--smokewhite); font-family: monospace, Monaco; } .kmhtml { font-size: 0.75rem; display: flex; flex-direction: column; position: relative; } .kmhtml .dots { display: flex; flex-wrap: wrap; column-gap: 0.1rem; font-size: large; } .kmhtml .dots .dot { display: inline-block; } .kmhtml .summary { font-size: medium; display: flex; justify-content: space-between; color: var(--smokewhite); padding: 0.25rem; } .kmhtml .summary[data-success] { background: var(--teal); } .kmhtml .summary[data-failure] { background: var(--red); } .kmhtml .ul-container { max-height: 90vh; overflow: auto; } .kmhtml ul { list-style-type: none; padding-left: 1em; } .kmhtml .passed { color: var(--teal); } .kmhtml .failed { color: var(--red); } .kmhtml .pending { color: rgb(255, 166, 0) } .kmhtml .failed details { color: initial; } .kmhtml .failed details summary { cursor: pointer; }