Test cleanup and fixes [c-d]
This commit is contained in:
@ -5,5 +5,7 @@ const reverseString = require('./reverseString.js');
|
||||
test('reverseString is a Function', () => {
|
||||
expect(reverseString).toBeInstanceOf(Function);
|
||||
});
|
||||
t.equal(reverseString('foobar'), 'raboof', "Reverses a string.");
|
||||
test('Reverses a string.', () => {
|
||||
expect(reverseString('foobar')).toBe('raboof')
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user