[react-packager] Integration test for `runServerHere.sh`

This commit is contained in:
Martín Bigio 2015-08-20 10:53:28 -07:00
parent 5f91d404e1
commit c1f90c1ecf
1 changed files with 5 additions and 2 deletions

View File

@ -79,7 +79,8 @@ class DependencyGraph {
return this._loading; return this._loading;
} }
const crawlActivity = Activity.startEvent('fs crawl'); const depGraphActivity = Activity.startEvent('Building Dependency Graph');
const crawlActivity = Activity.startEvent('Crawling File System');
const allRoots = this._opts.roots.concat(this._opts.assetRoots_DEPRECATED); const allRoots = this._opts.roots.concat(this._opts.assetRoots_DEPRECATED);
this._crawling = crawl(allRoots, { this._crawling = crawl(allRoots, {
ignore: this._opts.ignoreFilePath, ignore: this._opts.ignoreFilePath,
@ -104,7 +105,9 @@ class DependencyGraph {
return this._buildHasteMap().then(() => Activity.endEvent(hasteActivity)); return this._buildHasteMap().then(() => Activity.endEvent(hasteActivity));
}), }),
this._buildAssetMap_DEPRECATED(), this._buildAssetMap_DEPRECATED(),
]); ]).then(() =>
Activity.endEvent(depGraphActivity)
);
return this._loading; return this._loading;
} }