Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7668 from NejcZdovc/hotfix/#7667-unit-test
Browse files Browse the repository at this point in the history
Fixing unit test
  • Loading branch information
NejcZdovc authored Mar 12, 2017
2 parents 0bfceeb + 19647a8 commit f43488a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/app/renderer/lib/suggestionTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('suggestion unit tests', function () {

describe('createVirtualHistoryItems', function () {
it('handles input being null/undefined', function () {
const emptyResult = Immutable.Map().toArray()
const emptyResult = Immutable.Map()
assert.deepEqual(suggestion.createVirtualHistoryItems(), emptyResult)
assert.deepEqual(suggestion.createVirtualHistoryItems(undefined), emptyResult)
assert.deepEqual(suggestion.createVirtualHistoryItems(null), emptyResult)
Expand Down

0 comments on commit f43488a

Please sign in to comment.