Skip to content

Commit

Permalink
Fixed spec that wasn't verifying what it meant to
Browse files Browse the repository at this point in the history
  • Loading branch information
sgravrock committed Feb 15, 2020
1 parent 7e72bef commit 204e0a1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions spec/reporters/console_reporter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,13 +482,7 @@ describe("ConsoleReporter", function() {
status: "failed",
description: "with a failing spec",
fullName: "A suite with a failing spec that has both passed and failing expectations",
failedExpectations: [{
passed: false,
message: "Expected true to be false.",
expected: false,
actual: true,
stack: undefined
}],
failedExpectations: [],
passedExpectations: [{
passed: true,
message: "Expected true to be true.",
Expand All @@ -502,7 +496,7 @@ describe("ConsoleReporter", function() {
reporter.jasmineDone();

expect(this.out.getOutput()).not.toContain("Spec has no expectations");
});
});

it("displays all afterAll exceptions", function() {
var reporter = new ConsoleReporter();
Expand Down

0 comments on commit 204e0a1

Please sign in to comment.