Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 01-basic-spec/test/test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var assert = require('assert');
describe('Basic Mocha String Test', function () {
it('should return number of charachters in a string', function () {
it('should return number of characters in a string', function () {
assert.equal("Hello".length, 5);
});
it('should return first charachter of the string', function () {
it('should return first character of the string', function () {
assert.equal("Hello".charAt(0), 'H');
//throw {myError:'throwing error to fail test'}
});
Expand Down