1
0
Fork 0
firefox/testing/xpcshell/test/unit/test_tasks_skipall.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

23 lines
514 B
JavaScript

"use strict";
/* eslint-disable mozilla/reject-addtask-only */
add_task(async function skipMe1() {
Assert.ok(false, "Not skipped after all.");
});
add_task(async function skipMe2() {
Assert.ok(false, "Not skipped after all.");
}).skip();
add_task(async function skipMe3() {
Assert.ok(false, "Not skipped after all.");
}).only();
add_task(async function skipMeNot() {
Assert.ok(true, "Well well well.");
}).only();
add_task(async function skipMe4() {
Assert.ok(false, "Not skipped after all.");
});