Skip to content

Commit

Permalink
Fixing unit tests
Browse files Browse the repository at this point in the history
Resolves brave#7667

Auditors:
@bsclifton @aekeus

Test Plan:
- unit test should be green
  • Loading branch information
NejcZdovc committed Mar 12, 2017
1 parent 0bfceeb commit 19647a8
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 19647a8

Please sign in to comment.