UNPKG

async-validate

Version:

Asynchronous validation for node and the browser

30 lines (29 loc) 771 B
<!DOCTYPE html> <html> <head> <title>Async Validate: Test Specifications</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="../node_modules/mocha/mocha.css" /> </head> <body> <div id="mocha"></div> <script src="../node_modules/mocha/mocha.js"></script> <script> mocha.setup({ ui: 'bdd', globals: ['___browserSync___*', 'io*'], asyncOnly: true }); </script> <script src="spec.js"></script> <script> if(window.mochaPhantomJS) { mochaPhantomJS.run(); }else{ mocha.checkLeaks(); mocha.run(); } </script> </body> </html>