-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.js
16 lines (10 loc) · 1.07 KB
/
test.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { 'default': obj }; };
var _assert = require('assert');
var _assert2 = _interopRequireWildcard(_assert);
var _apply = require('./');
var _apply2 = _interopRequireWildcard(_apply);
it('fj-apply', function () {
_assert2['default'].equal(_apply2['default'](Math.min, [-1, 1, 0, 2, 42]), -1);
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlc3QuZXM2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7c0JBQW1CLFFBQVE7Ozs7cUJBQ1QsSUFBSTs7OztBQUd0QixFQUFFLENBQUMsVUFBVSxFQUFFLFlBQU07QUFDbkIsc0JBQU8sS0FBSyxDQUFDLG1CQUFNLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxDQUFDLENBQUMsRUFBQyxDQUFDLEVBQUMsQ0FBQyxFQUFDLENBQUMsRUFBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLENBQUM7Q0FDbEQsQ0FBQyxDQUFDIiwiZmlsZSI6InRlc3QuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgYXNzZXJ0IGZyb20gJ2Fzc2VydCc7XG5pbXBvcnQgYXBwbHkgZnJvbSAnLi8nO1xuXG5cbml0KCdmai1hcHBseScsICgpID0+IHtcbiAgYXNzZXJ0LmVxdWFsKGFwcGx5KE1hdGgubWluLCBbLTEsMSwwLDIsNDJdKSwgLTEpO1xufSk7XG4iXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=