-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tied the functionality to the --bail_on_uncaught_error or -b option.
- Loading branch information
Showing
2 changed files
with
12 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,7 @@ | ||
/*test('says hello world', function(){ | ||
test('says hello world', function(){ | ||
equal(hello(), 'hello world', 'should equal hello world'); | ||
}); | ||
|
||
test('says hello to person', function(){ | ||
equal(hello('Bob'), 'hello Bob', 'should equal hello Bob'); | ||
}); | ||
*/ | ||
for (var i = 0; i < 10; i++) | ||
console.log('hello world') | ||
describe('hello', function(){ | ||
it('should say hello', function(){ | ||
expect(hello()).toBe('hello world'); | ||
waits(200); | ||
}); | ||
it('should say hello to person', function(){ | ||
expect(hello('Bob')).toBe('hello Bob'); | ||
waits(200); | ||
}); | ||
}); |