From c202ab052917794b7d3f7af3413d2d0fcd1b3bba Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 13 Nov 2017 19:44:19 +0900 Subject: fix hot-reload settings --- test/content/actions/setting.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/content/actions/setting.test.js b/test/content/actions/setting.test.js index 0228fea..1248edf 100644 --- a/test/content/actions/setting.test.js +++ b/test/content/actions/setting.test.js @@ -20,8 +20,8 @@ describe("setting actions", () => { } }); let keymaps = action.value.keymaps; - - expect(action.value.keymaps).to.have.deep.all.keys( + let map = new Map(keymaps); + expect(map).to.have.deep.all.keys( [ [{ key: 'd', shiftKey: false, ctrlKey: false, altKey: false, metaKey: false }, { key: 'd', shiftKey: false, ctrlKey: false, altKey: false, metaKey: false }], -- cgit v1.2.3