From 55ef60362cc2f45158b79cebe7bb3271c5384eb3 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Tue, 16 Mar 2021 23:51:02 +0100 Subject: [PATCH] Fix keymaps tests --- test/specs/keymaps/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/specs/keymaps/index.js b/test/specs/keymaps/index.js index cd2406ab4..37700d127 100644 --- a/test/specs/keymaps/index.js +++ b/test/specs/keymaps/index.js @@ -8,8 +8,9 @@ describe('Keymaps', () => { let editor; beforeEach(() => { - editor = Editor().init(); + editor = Editor({ keymaps: { defaults: [] } }).init(); em = editor.getModel(); + em.loadOnStart(); obj = editor.Keymaps; });