Fix lint errors 1/n

Reviewed By: davidaurelio

Differential Revision: D4627645

fbshipit-source-id: 3cf368c6a24a555b7d0a39045f6ba6fd92ae34e1
This commit is contained in:
Christoph Pojer
2017-02-28 08:58:14 -08:00
committed by Facebook Github Bot
parent 05c36b463b
commit 5403946f09
54 changed files with 521 additions and 522 deletions

View File

@@ -36,7 +36,7 @@ describe('Graph:', () => {
});
it('calls back an error when called without any entry point', done => {
graph([], anyPlatform, {log: quiet}, (error) => {
graph([], anyPlatform, {log: quiet}, error => {
expect(error).toEqual(any(Error));
done();
});
@@ -214,11 +214,11 @@ describe('Graph:', () => {
const ids = [
'a',
'b',
'c', 'd',
'e',
'f', 'g',
'h',
'b',
'c', 'd',
'e',
'f', 'g',
'h',
];
ids.forEach(id => {
const path = idToPath(id);
@@ -367,7 +367,7 @@ function createFile(id) {
function createModule(id, dependencies = []): Module {
return {
file: createFile(id),
dependencies: dependencies.map(createDependency)
dependencies: dependencies.map(createDependency),
};
}