@@ -8,21 +8,18 @@ describe('modifiers', () => {
8
8
9
9
describe ( 'are not blocked from activating keyboard shortcuts' , ( ) => {
10
10
// TODO: find a way to test browser shortcuts blur the input (not currently working with chromedriver)
11
- typing ( 'k' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
12
- typing ( 'm' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
13
- typing ( 'b' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
14
- typing ( 'l' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
15
- typing ( 'h' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
11
+ typing ( 'k' ) . whileModifierPressed ( ) . shouldShow ( '1,000' ) ;
12
+ typing ( 'm' ) . whileModifierPressed ( ) . shouldShow ( '1,000,000' ) ;
13
+ typing ( 'b' ) . whileModifierPressed ( ) . shouldShow ( '1,000,000,000' ) ;
16
14
17
- typing ( '0' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
18
- typing ( '1' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
19
- typing ( '2' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
20
- typing ( '3' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
15
+ typing ( '0' ) . whileModifierPressed ( ) . shouldShow ( '0 ' ) ;
16
+ typing ( '1' ) . whileModifierPressed ( ) . shouldShow ( '1 ' ) ;
17
+ typing ( '2' ) . whileModifierPressed ( ) . shouldShow ( '2 ' ) ;
18
+ typing ( '3' ) . whileModifierPressed ( ) . shouldShow ( '3 ' ) ;
21
19
22
- typing ( '-' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
20
+ typing ( '-' ) . whileModifierPressed ( ) . shouldShow ( '- ' ) ;
23
21
typing ( '+' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
24
- typing ( '.' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
22
+ typing ( '.' ) . whileModifierPressed ( ) . shouldShow ( '. ' ) ;
25
23
typing ( ',' ) . whileModifierPressed ( ) . shouldShow ( '' ) ;
26
24
} ) ;
27
25
} ) ;
28
- ;
0 commit comments