Skip to content

Commit

Permalink
Merge branch 'allow-mapping-to-mod-keys' of ssh://ssh.github.com:443/…
Browse files Browse the repository at this point in the history
…g547315/lumino into allow-mapping-to-mod-keys
  • Loading branch information
g547315 committed Oct 20, 2023
2 parents d9a3f6f + 3ebd720 commit ab4c7bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-api-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Get API changes
id: api-changed
uses: tj-actions/changed-files@v39.2.1
uses: tj-actions/changed-files@v39.2.2
with:
base_sha: 'HEAD~1'
sha: 'HEAD'
Expand Down
4 changes: 2 additions & 2 deletions packages/commands/tests/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1335,11 +1335,11 @@ describe('@lumino/commands', () => {
expect(keystroke).to.equal('');
});

it('should return nothing for keys that are marked as modifier in keyboard layout', () => {
it('should return keys that are marked as modifier in keyboard layout', () => {
let keystroke = CommandRegistry.keystrokeForKeydownEvent(
new KeyboardEvent('keydown', { keyCode: 17, ctrlKey: true })
);
expect(keystroke).to.equal('');
expect(keystroke).to.equal('Ctrl ');
});
});
});
Expand Down

0 comments on commit ab4c7bf

Please sign in to comment.