Skip to content

lab3#16

Open
jtwalters25 wants to merge 1 commit intocodefellows-javascript-401d13:masterfrom
jtwalters25:master
Open

lab3#16
jtwalters25 wants to merge 1 commit intocodefellows-javascript-401d13:masterfrom
jtwalters25:master

Conversation

@jtwalters25
Copy link

No description provided.

console.log('my resultz:', result);
callback(null, result);
});
});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that your function takes an array of file names. Good Job!

fs.readFile(`${__dirname}/data/one.txt`, function(err, data) {
if (err) throw err;
console.log('content:', data.toString());
});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to run your filereader from index.js the same way you are running it in your tests.

"devDependencies": {
"chai": "^3.5.0",
"mocha": "^3.2.0"
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to add gulp-mocha and gulp-eslint as devDependencies.

done();
});
});
});
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the way you've set up your tests here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants