mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
fe3a824ad4
It is useful to have at least very basic tests for those APIs :)
14 lines
344 B
HTML
14 lines
344 B
HTML
<script src="include.js"></script>
|
|
<script>
|
|
asyncTest(done => {
|
|
let count = 0;
|
|
let intervalId = setInterval(() => {
|
|
println("setInterval completed count=" + count++);
|
|
if (count === 3) {
|
|
clearInterval(intervalId);
|
|
done();
|
|
}
|
|
}, 0);
|
|
});
|
|
</script>
|