mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-06 04:35:30 +08:00
fix(specs): remove unnecessary trigger
This commit is contained in:
parent
d15b5080fb
commit
33a33eedca
2 changed files with 3 additions and 3 deletions
|
@ -198,9 +198,9 @@ MessageList = React.createClass
|
|||
next = @state.messages[idx + 1]
|
||||
nextCollapsed = next and !@state.messagesExpandedState[next.id]
|
||||
if collapsed and nextCollapsed
|
||||
components.push <hr className="message-item-divider collapsed" />
|
||||
components.push <hr key={idx} className="message-item-divider collapsed" />
|
||||
else
|
||||
components.push <hr className="message-item-divider" />
|
||||
components.push <hr key={idx} className="message-item-divider" />
|
||||
|
||||
components
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ testModelInstanceB = new TestModel(id: 'BBB')
|
|||
describe "DatabaseStore", ->
|
||||
beforeEach ->
|
||||
spyOn(ModelQuery.prototype, 'where').andCallThrough()
|
||||
spyOn(DatabaseStore, 'trigger').andCallThrough()
|
||||
spyOn(DatabaseStore, 'trigger')
|
||||
|
||||
@performed = []
|
||||
@transactionCount = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue