chore: refactor and simplify testing (#39050)

This commit is contained in:
Oliver Eyton-Williams
2020-06-13 11:27:15 +02:00
committed by GitHub
parent 5934984064
commit b4926052f4
14 changed files with 122 additions and 305 deletions

View File

@ -1,5 +1,5 @@
import validator from 'express-validator';
import { isPoly } from '../../common/utils/polyvinyl';
import { isPoly } from '../../../utils/polyvinyl';
const isObject = val => !!val && typeof val === 'object';