Test cleanup and fixes [a-b]
This commit is contained in:
@ -9,6 +9,8 @@ const partial = require('./partial.js');
|
||||
return greeting + ' ' + name + '!';
|
||||
}
|
||||
const greetHello = partial(greet, 'Hello');
|
||||
t.equal(greetHello('John'), 'Hello John!', 'Prepends arguments');
|
||||
test('Prepends arguments', () => {
|
||||
expect(greetHello('John'), 'Hello John!').toBe()
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user