| 123456789101112131415161718192021222324252627282930313233343536 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>ThreeJS Unit Tests - Using Files in /examples/jsm</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.addons.unit.js" type="module"></script>
- </body>
- </html>
|