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

fix module build failed error at Linter.parseResults #294

Merged
merged 4 commits into from
Sep 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: update based on conversation
Khoa Bui Hoang Dang committed Sep 23, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 6549a5cdcbc21b90a244243812975800796054ef
3 changes: 1 addition & 2 deletions test/Linter.test.js
Original file line number Diff line number Diff line change
@@ -12,8 +12,7 @@ describe('Linter', () => {
const linter = new Linter(loaderContext, options);

it('should parse undefined results without error', () => {
// eslint-disable-next-line no-undefined
expect(linter.parseResults({})).toEqual(undefined);
expect(linter.parseResults({})).toBeUndefined();
});

it('should parse results correctly', () => {