shared_tests/onTruncateRequested.js
Function testFactory
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var testFactory = function(open, read, truncate) {
return function(file, id, length, expected) {
return function(done) {
var openOptions = {
filePath: file,