@@ -258,7 +258,7 @@ describe('Prompt', () => {
258258
259259 instance . value = 'invalid' ;
260260
261- input . emit ( 'keypress' , '' , { name : 'return' } ) ;
261+ input . emit ( 'keypress' , '' , { name : 'return' } ) ;
262262
263263 expect ( instance . state ) . to . equal ( 'error' ) ;
264264 expect ( instance . error ) . to . equal ( 'must be valid' ) ;
@@ -274,7 +274,7 @@ describe('Prompt', () => {
274274 instance . prompt ( ) ;
275275
276276 instance . value = 'invalid' ;
277- input . emit ( 'keypress' , '' , { name : 'return' } ) ;
277+ input . emit ( 'keypress' , '' , { name : 'return' } ) ;
278278
279279 expect ( instance . state ) . to . equal ( 'error' ) ;
280280 expect ( instance . error ) . to . equal ( 'must be valid' ) ;
@@ -290,7 +290,7 @@ describe('Prompt', () => {
290290 instance . prompt ( ) ;
291291
292292 instance . value = 'Invalid Value $$$' ;
293- input . emit ( 'keypress' , '' , { name : 'return' } ) ;
293+ input . emit ( 'keypress' , '' , { name : 'return' } ) ;
294294
295295 expect ( instance . state ) . to . equal ( 'error' ) ;
296296 expect ( instance . error ) . to . equal ( 'Invalid value' ) ;
@@ -306,7 +306,7 @@ describe('Prompt', () => {
306306 instance . prompt ( ) ;
307307
308308 instance . value = 'VALID' ;
309- input . emit ( 'keypress' , '' , { name : 'return' } ) ;
309+ input . emit ( 'keypress' , '' , { name : 'return' } ) ;
310310
311311 expect ( instance . state ) . to . equal ( 'submit' ) ;
312312 expect ( instance . error ) . to . equal ( '' ) ;
0 commit comments