| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <link href="../../../node_modules/mocha/mocha.css" rel="stylesheet" /> |
| 6 | </head> |
| 7 | |
| 8 | <body> |
| 9 | <div id="mocha"></div> |
| 10 | |
| 11 | <script src="../../../node_modules/chai/chai.js"></script> |
| 12 | <script src="../../../node_modules/mocha/mocha.js"></script> |
| 13 | |
| 14 | <script src="../../setup/browser.env.js"></script> |
| 15 | <script src="../../module-system/module.spec.js"></script> |
| 16 | <script src="./ponyfill.bundle.js"></script> |
| 17 | |
| 18 | <script> |
| 19 | if (/globals=off/.test(location.search)) { |
| 20 | describe('Browser:Ponyfill:Import:Webpack', () => { |
| 21 | addModuleSuite(namedExports) |
| 22 | addPonyfillSuite({ ...namedExports, defaultExport }) |
| 23 | }) |
| 24 | } else { |
| 25 | describe('Browser:Native:Import:Webpack', () => { |
| 26 | addModuleSuite(namedExports) |
| 27 | addNativeSuite({ fetch }) |
| 28 | }) |
| 29 | } |
| 30 | |
| 31 | mocha.checkLeaks() |
| 32 | mocha.run() |
| 33 | </script> |
| 34 | </body> |
| 35 | </html> |