From 0e8847820da68f0ca77db0b8373ce2beebdbeec1 Mon Sep 17 00:00:00 2001 From: Tomi Virkki Date: Wed, 8 Nov 2023 12:27:32 +0200 Subject: [PATCH] test: try fix a test failing on CI only --- packages/grid-pro/test/edit-column-type.common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grid-pro/test/edit-column-type.common.js b/packages/grid-pro/test/edit-column-type.common.js index 1962514e26..22f7395210 100644 --- a/packages/grid-pro/test/edit-column-type.common.js +++ b/packages/grid-pro/test/edit-column-type.common.js @@ -215,7 +215,7 @@ describe('edit column editor type', () => { await nextFrame(); expect(column._getEditorComponent(cell)).to.not.be.ok; expect(cell._content.textContent).to.equal(value); - expect(spy.calledOnce).to.be.true; + expect(spy.called).to.be.true; }); it('should work with `enterNextRow`', async () => {