diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-02-09 09:32:27 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 09:32:27 +0900 |
commit | 8b9388f6e60fe67d20638f55aecb0ed1b281871a (patch) | |
tree | 9fa6491a7e9d404351fe5cf436754b44fa713b0d /test | |
parent | f27cff5083b8ea7a6c316f4ed31ed6507bc99dc0 (diff) | |
parent | 0263170bd2603165edecce1b55493c7b2092e2e6 (diff) |
Merge pull request #709 from ueokande/blur-keys-on-blur
Clear keys on window blur
Diffstat (limited to 'test')
-rw-r--r-- | test/shared/settings/Key.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shared/settings/Key.test.ts b/test/shared/settings/Key.test.ts index 3a1c86e..b8538f8 100644 --- a/test/shared/settings/Key.test.ts +++ b/test/shared/settings/Key.test.ts @@ -80,7 +80,7 @@ describe("Key", () => { it('returns true if the key is a digit', () => { expect(new Key({ key: '0' }).isDigit()).to.be.true; expect(new Key({ key: '9' }).isDigit()).to.be.true; - expect(new Key({ key: '9', shift: true }).isDigit()).to.be.true; + expect(new Key({ key: '9', alt: true }).isDigit()).to.be.false; expect(new Key({ key: 'a' }).isDigit()).to.be.false; expect(new Key({ key: '0' }).isDigit()).to.be.false; |