File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/cdk-experimental/testing Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 99/** Keyboard keys that do not result in input characters. */
1010import { ModifierKeys } from '@angular/cdk/testing' ;
1111
12+ /** An enum of non-text keys that can be used with the `sendKeys` method. */
13+ // NOTE: This is a separate enum from `@angular/cdk/keycodes` because we don't necessarily want to
14+ // support every possible keyCode. We also can't rely on Protractor's `Key` because we don't want a
15+ // dependency on any particular testing framework here. Instead we'll just maintain this supported
16+ // list of keys and let individual concrete `HarnessEnvironment` classes map them to whatever key
17+ // representation is used in its respective testing framework.
1218export enum TestKey {
1319 BACKSPACE ,
1420 TAB ,
You can’t perform that action at this time.
0 commit comments