A platform for community discussion. Free, open, simple.
DEV: Don't run conditionally skipped tests (#31326)
Jarek Radoszcbe9a9f33b7a
diff --git a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.jsindex 7a01a298e2c..31b8ae47f71 100644--- a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js+++ b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js@@ -11,7 +11,7 @@ import { setupApplicationTest } from "ember-qunit";import $ from "jquery";import MessageBus from "message-bus-client";import { resetCache as resetOneboxCache } from "pretty-text/oneboxer";-import QUnit, { module, skip, test } from "qunit";+import QUnit, { module, test } from "qunit";import sinon from "sinon";import { clearAboutPageActivities } from "discourse/components/about-page";import { resetCardClickListenerSelector } from "discourse/components/card-contents-base";@@ -568,8 +568,6 @@ export async function selectText(selector, endOffset = null) {export function conditionalTest(name, condition, testCase) {if (condition) {test(name, testCase);- } else {- skip(name, testCase);}}