diff --git a/app/page.js b/app/page.js index 5c73df6..19a8d65 100644 --- a/app/page.js +++ b/app/page.js @@ -5,6 +5,23 @@ export default function Home(props) { return ( <> +
+ Async tests +

The async checkbox will provide a global function deferred.resolve which the test runner uses to determine that the test has finished.

+

Example usage:

+
+{`
+async function main() {
+  //your code here
+}
+
+(async function start(){
+  await main();
+  deferred.resolve();
+})()
+`}
+        
+

Create a test case