Skip to content

Commit

Permalink
Refactoring of test. Sinon removed support of spy.reset and suggested…
Browse files Browse the repository at this point in the history
… to use spy.resetHistory instead
  • Loading branch information
WoZ committed Oct 4, 2018
1 parent 2e2066f commit 7454b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/FramesMonitor/_onStdoutChunk.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('FramesMonitor::_onStdoutChunk', () => {
});

afterEach(() => {
spyOnCompleteFrame.reset();
spyOnCompleteFrame.resetHistory();
stubRunShowFramesProcess.restore();
stubHandleProcessingError.restore();
spyFrameToJson.restore();
Expand Down

0 comments on commit 7454b3f

Please sign in to comment.