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

Commit

Permalink
Tests: Missing 100% CC.
Browse files Browse the repository at this point in the history
  • Loading branch information
scofalik committed Aug 16, 2019
1 parent 3f4f603 commit 384f172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conversion/downcastdispatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ describe( 'DowncastDispatcher', () => {
model.markers._set( 'foo', fooRange );
model.markers._set( 'bar', barRange );

// Stub `_unboundMarkers`.
dispatcher.conversionApi.mapper._unboundMarkers = new Set( [ 'foo', 'bar' ] );
// Stub `Mapper#flushUnboundMarkerNames`.
dispatcher.conversionApi.mapper.flushUnboundMarkerNames = () => [ 'foo', 'bar' ];

view.change( writer => {
dispatcher.convertChanges( differStub, model.markers, writer );
Expand Down

0 comments on commit 384f172

Please sign in to comment.