From 1fb6597ebf301f24cac9183e84e3ef1f2a76ae46 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Fri, 1 Mar 2024 09:06:08 +0400 Subject: [PATCH] Up data record changes tests --- test/specs/dataSources/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/specs/dataSources/index.ts b/test/specs/dataSources/index.ts index 80e87fb82..1593d33c1 100644 --- a/test/specs/dataSources/index.ts +++ b/test/specs/dataSources/index.ts @@ -151,7 +151,13 @@ describe('DataSourceManager', () => { expect(el.innerHTML).toBe('default'); }); - test.todo('component is properly updating on record reset'); + test('component is properly updating on record reset', () => { + const ds = dsm.add(dsTest); + const cmpVar = addDataVariable(); + const el = cmpVar.getEl()!; + ds.records.reset(); + expect(el.innerHTML).toBe('default'); + }); }); }); });