Showing 2 of 2 total issues
File index.test.js
has 579 lines of code (exceeds 500 allowed). Consider refactoring. Open
Open
import _ from 'lodash'
import { getBase64DataURI } from 'dauria'
import chai, { util, expect } from 'chai'
import chailint from 'chai-lint'
// import request from 'superagent'
Function default
has 53 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
export default function (name, app, options) {
const config = app.get('storage')
const client = new aws.S3({
accessKeyId: config.accessKeyId,
secretAccessKey: config.secretAccessKey