File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
exercises/07.1-Finding-Waldo Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ it('You have to use the console.log function inside the loop', function () {
13
13
expect ( console . log . mock . calls . length > 0 ) . toBe ( true ) ;
14
14
} ) ;
15
15
16
- it ( 'Use a for loop' , function ( ) {
16
+ it ( 'Use a " for" loop' , function ( ) {
17
17
const app_content = fs . readFileSync ( path . resolve ( __dirname , './app.js' ) , 'utf8' ) ;
18
18
expect ( app_content ) . toMatch ( / f o r ( \s * ) \( / ) ;
19
19
} ) ;
@@ -23,9 +23,9 @@ it('Use the toLowerCase function', function () {
23
23
expect ( app_content ) . toMatch ( / \. t o L o w e r C a s e ( \s * ) \( / ) ;
24
24
} ) ;
25
25
26
- it ( 'Loop and add a conditional to print the position (i) where Waldo was fund ' , function ( ) {
26
+ it ( 'Loop and add a conditional to print the position (i) where Waldo was found ' , function ( ) {
27
27
const _app = rewire ( './app.js' ) ;
28
28
const people = _app . __get__ ( 'people' ) ;
29
29
const position = people . indexOf ( "Waldo" ) ;
30
30
expect ( _buffer . includes ( position + "\n" ) ) . toBe ( true ) ;
31
- } ) ;
31
+ } ) ;
You can’t perform that action at this time.
0 commit comments