From a349d3248afaacf82c7237372b75d3b22f95bc4b Mon Sep 17 00:00:00 2001 From: Howard Li Date: Fri, 20 Mar 2020 15:48:27 -0700 Subject: [PATCH] Enable assertions for tests marked ':warning_todo' Tests marked 'warning_todo' are intended to check the CSS output of scenarios where the rendering results in a warning but still succeeds in generating CSS output. --- test/spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec.js b/test/spec.js index 3e7ef55d6..5ef030137 100644 --- a/test/spec.js +++ b/test/spec.js @@ -98,7 +98,7 @@ var runTest = function(inputCssPath, options) { var test = initialize(inputCssPath, options); it(test.name, function(done) { - if (test.todo || test.warningTodo) { + if (test.todo) { this.skip('Test marked with TODO'); } else if (test.only && (test.only.some(impl))) { this.skip('Tests marked for only: ' + test.only.join(', '));