Showing 3 of 3 total issues
Function factory
has 122 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function factory (promisify) {
test('should promisify a sync function', function () {
var fn = promisify(function () {
return 'foo bar baz'
})
- Create a ticketCreate a ticket
Function redolent
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function redolent (fn, opts) {
if (typeof fn !== 'function') {
throw new TypeError('redolent: expect `fn` to be a function')
}
- Create a ticketCreate a ticket
Function func
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var func = promisify(function (a, b, c, d, e) {
- Create a ticketCreate a ticket