Test cleanup and fixes [c-d]
This commit is contained in:
@ -5,5 +5,7 @@ const initializeArrayWithRange = require('./initializeArrayWithRange.js');
|
||||
test('initializeArrayWithRange is a Function', () => {
|
||||
expect(initializeArrayWithRange).toBeInstanceOf(Function);
|
||||
});
|
||||
t.deepEqual(initializeArrayWithRange(5), [0, 1, 2, 3, 4, 5], "Initializes an array containing the numbers in the specified range");
|
||||
test('Initializes an array containing the numbers in the specified range', () => {
|
||||
expect(initializeArrayWithRange(5), [0, 1, 2, 3, 4).toEqual(5])
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user