Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #140 from liferay/wincent/innocuous-typo
Browse files Browse the repository at this point in the history
fix(reporter): correct an innocuous typo
  • Loading branch information
wincent committed Jul 1, 2019
2 parents 3aabc3b + 59c1063 commit e483db3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/liferay-jest-junit-reporter/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jest.mock('fs');
const reporter = require('../src');
const fs = require('fs');

const faildTestReport = {
const failedTestReport = {
numFailedTests: 1,
numTotalTests: 1,
startTime: 1000,
Expand Down Expand Up @@ -71,7 +71,7 @@ describe('liferay-jest-junit-reporter', () => {
});

it('writes a file for a failing test', () => {
reporter(faildTestReport);
reporter(failedTestReport);

const xmlWritten = fs.writeFileSync.mock.calls[1][1];

Expand Down

0 comments on commit e483db3

Please sign in to comment.