Skip to content

Commit

Permalink
Chore: remove commented test for HTML formatter (#9532)
Browse files Browse the repository at this point in the history
This commit removes a test that has been commented out for 2 years and doesn't appear to work.
  • Loading branch information
not-an-aardvark committed Oct 29, 2017
1 parent 06b491e commit cb60285
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions tests/lib/formatters/html.js
Expand Up @@ -329,28 +329,6 @@ describe("formatter:html", () => {
});
});

// // Formatter doesn't use source property
// /*
// describe("when passing a single message with no source", function() {

// var code = [{
// filePath: "foo.js",
// messages: [{
// message: "Unexpected foo.",
// severity: 2,
// line: 5,
// column: 10,
// ruleId: "foo"
// }]
// }];

// it("should return a string in HTML format with 1 issue in 1 file", function() {
// var result = formatter(code);
// assert.strictEqual(parseHTML(result), "");
// });
// });
// */

describe("when passing a single message with no rule id or message", () => {
const code = [{
filePath: "foo.js",
Expand Down

0 comments on commit cb60285

Please sign in to comment.