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 9
9
/** Keyboard keys that do not result in input characters. */
10
10
import { ModifierKeys } from '@angular/cdk/testing' ;
11
11
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.
12
18
export enum TestKey {
13
19
BACKSPACE ,
14
20
TAB ,
You can’t perform that action at this time.
0 commit comments