Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Enable assertions for tests marked ':warning_todo'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PolyPik committed Mar 20, 2020
1 parent 1816c88 commit a349d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(', '));
Expand Down

0 comments on commit a349d32

Please sign in to comment.