Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ export default function Home(props) {
return (
<>
<Layout navState={{ about: true }}>
<div>
<strong>Async tests</strong>
<p>The async checkbox will provide a global function <code>deferred.resolve</code> which the test runner uses to determine that the test has finished.</p>
<p>Example usage:</p>
<pre>
{`
async function main() {
//your code here
}

(async function start(){
await main();
deferred.resolve();
})()
`}
</pre>
</div>
<h1 className="font-semibold py-2">Create a test case</h1>
<EditForm />
</Layout>
Expand Down