ladybird/Tests/LibWeb/Text/input/setTimeout.html
Aliaksandr Kalenik fe3a824ad4 Tests/LibWeb: Add basic tests for setTimeout and setInterval
It is useful to have at least very basic tests for those APIs :)
2023-09-26 19:42:59 +02:00

9 lines
193 B
HTML

<script src="include.js"></script>
<script>
asyncTest(done => {
setTimeout(() => {
println("setTimeout completed");
done();
}, 0);
});
</script>