Additional Tests

NOTE: This page basically does nothing except provide access to things for the unit test in tests/ui/admin_tests.js. It has a mock on purpose to test that they keep working, and does asserts as well. You can delete this if you also delete the test. {#await assert_promise}

Waiting for assert.

{:then msg}

Assert is working. Good job! Message: { msg }

{/await} {#await bad_promise}

This should error.

{:then}

OOPS! This shouldn't run.

{:catch error}

Defer failure worked: { error }

{/await}