From 384f172dbbece7e4559bd9fbe783ed9deda0c413 Mon Sep 17 00:00:00 2001 From: Szymon Cofalik Date: Fri, 16 Aug 2019 15:31:15 +0200 Subject: [PATCH] Tests: Missing 100% CC. --- tests/conversion/downcastdispatcher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conversion/downcastdispatcher.js b/tests/conversion/downcastdispatcher.js index 5646be95e..21e3ca39f 100644 --- a/tests/conversion/downcastdispatcher.js +++ b/tests/conversion/downcastdispatcher.js @@ -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 );