Skip to content
Snippets Groups Projects
Select Git revision
  • 374815f097c8b968a5e2a82ab1b94970c05cd7cb
  • master default protected
  • 1.31
  • 4.38.7
  • 4.38.6
  • 4.38.5
  • 4.38.4
  • 4.38.3
  • 4.38.2
  • 4.38.1
  • 4.38.0
  • 4.37.2
  • 4.37.1
  • 4.37.0
  • 4.36.0
  • 4.35.0
  • 4.34.1
  • 4.34.0
  • 4.33.1
  • 4.33.0
  • 4.32.2
  • 4.32.1
  • 4.32.0
23 results

formatter.mjs

Blame
  • test.html 2.22 KiB
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="utf-8"/>
        <title>Mocha Monster</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        <link rel="stylesheet" href="mocha.css"/>
       <script id="polyfill" src="https://polyfill.io/v3/polyfill.min.js?features=Array.from,Array.isArray,Array.prototype.entries,Array.prototype.fill,Array.prototype.filter,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.map,Array.prototype.reduce,Array.prototype.sort,ArrayBuffer,atob,CustomEvent,DataView,document,Document,DocumentFragment,Element,Event,fetch,globalThis,HTMLDocument,HTMLTemplateElement,Intl,JSON,Map,Math.log2,Number.isInteger,Object.assign,Object.defineProperty,Object.entries,Object.freeze,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.keys,Promise,Reflect,Reflect.defineProperty,Reflect.get,Reflect.getOwnPropertyDescriptor,Reflect.setPrototypeOf,Set,String.prototype.endsWith,String.prototype.padStart,String.prototype.startsWith,String.prototype.trim,Symbol,Symbol.iterator,Uint16Array,Uint8Array,URL,WeakMap,WeakSet"
                crossorigin="anonymous"
                referrerpolicy="no-referrer"></script>
       <script src="https://cdn.jsdelivr.net/npm/element-internals-polyfill@0.1.52/dist/index.min.js"></script>
    
    </head>
    <body>
    <div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
      <h1 style='margin-bottom: 0.1em;'>Monster 1.31.0</h1>
      <div id="lastupdate" style='font-size:0.7em'>last update Mo 7. Feb 15:11:34 CET 2022</div>
    </div>
    <div id="mocks"></div>
    <div id="mocha"></div>
    <script src="mocha.js?"></script>
    <script>
        mocha.setup('bdd');
    </script>
    <script src="tests.js?r=21:36:59"></script>
    <script>
    
        try {
            mocha.run((failures) => {
                if (failures) {
                    document.getElementById('mocha-stats').style.backgroundColor = 'red';
                } else {
                    document.getElementById('mocha-stats').style.backgroundColor = 'green';
                }
    
            });
    
        } catch (e) {
            console.error(e);
            document.getElementById('mocha-stats').style.backgroundColor = 'red';
        }
    
    </script>
    </body>
    </html>