diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-13 19:44:19 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-13 19:44:19 +0900 |
commit | c202ab052917794b7d3f7af3413d2d0fcd1b3bba (patch) | |
tree | aa151e12a7eb0bdcc22bc92302f4cf3e0a521319 /test/content | |
parent | 91ea58008c2d7e64ffca4acf20749c8f7b3eb211 (diff) |
fix hot-reload settings
Diffstat (limited to 'test/content')
-rw-r--r-- | test/content/actions/setting.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 }], |