Test cleanup and fixes [s-t]
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
const expect = require('expect');
|
||||
const sortCharactersInString = require('./sortCharactersInString.js');
|
||||
|
||||
|
||||
test('sortCharactersInString is a Function', () => {
|
||||
test('sortCharactersInString is a Function', () => {
|
||||
expect(sortCharactersInString).toBeInstanceOf(Function);
|
||||
});
|
||||
test('Alphabetically sorts the characters in a string.', () => {
|
||||
expect(sortCharactersInString('cabbage')).toBe('aabbceg')
|
||||
test('Alphabetically sorts the characters in a string.', () => {
|
||||
expect(sortCharactersInString('cabbage')).toBe('aabbceg');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user