| <!DOCTYPE HTML> |
| <html> |
| <head> |
| <script src="../../resources/js-test-pre.js"></script> |
| <script src="resources/adapter.js"></script> |
| </head> |
| <body> |
| <div id="description"></div> |
| <div id="console"></div> |
| <script> |
| description('Test Promise with Promise A+ tests 2.2.4.'); |
| window.jsTestIsAsync = true; |
| </script> |
| <script src="resources/mocha.js"></script> |
| <script> |
| mocha.setup({ |
| ui: 'bdd', |
| reporter: LayoutTestsReporter |
| }); |
| </script> |
| <script src="promises-tests.js"></script> |
| <script> |
| promiseTests.tests2_2_4(); |
| mocha.run(); |
| </script> |
| <script src="../../resources/js-test-post.js"></script> |
| </body> |
| </html> |