| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>ThreeJS Unit Tests - Using Files in /src</title>
- <!-- if we don't set favicon here, we have to intercept the request for it in puppeteer page to prevent console error -->
- <link rel="icon" type="image/x-icon" href="/files/favicon.ico" />
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/qunit@2.25.0/qunit/qunit.css">
- </head>
- <body>
- <div id="qunit"></div>
- <div id="qunit-fixture"></div>
- <script src="https://cdn.jsdelivr.net/npm/qunit@2.25.0/qunit/qunit.min.js"></script>
- <script type="importmap">
- {
- "imports": {
- "three": "../../build/three.module.js"
- }
- }
- </script>
- <script type="module">
- window.QUnit.on( 'runEnd', ( runEnd ) => {
- // using these later in puppeteer.unit.js
- window._QUnitStats = runEnd.testCounts;
- } );
- </script>
- <!-- add sources to test below -->
- <script src="./three.source.unit.js" type="module"></script>
- </body>
- </html>
|