gestion des demandes d'évolution pour le centre kalachakra non géré dans les module booking et opendons
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
'use strict';
|
|
|
|
var func = require('../src/js/func');
|
|
|
|
describe('func', function() {
|
|
it('bind()를 통해 함수를 커링할 수 있다', function() {
|
|
var a = {
|
|
word: 'hello'
|
|
};
|
|
|
|
var b = function() {
|
|
return this.word;
|
|
};
|
|
|
|
var curried = func.bind(b, a);
|
|
|
|
expect(curried()).toBe('hello');
|
|
});
|
|
});
|