Test migration to jest by hand
Apparently using regular expressions is way easier.
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
const expect = require('expect');
|
||||
const initializeArrayWithValues = require('./initializeArrayWithValues.js');
|
||||
|
||||
|
||||
test('initializeArrayWithValues is a Function', () => {
|
||||
expect(initializeArrayWithValues).toBeInstanceOf(Function);
|
||||
});
|
||||
t.deepEqual(initializeArrayWithValues(5, 2), [2, 2, 2, 2, 2], "Initializes and fills an array with the specified values");
|
||||
|
||||
Reference in New Issue
Block a user