Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updates the error message
  • Loading branch information
Maël Nison committed Oct 2, 2018
commit 8a7b653928e2638c0f3fdecc5dc84fb1720ab3b4
2 changes: 1 addition & 1 deletion packages/jest-haste-map/src/crawlers/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module.exports = function nodeCrawl(
options: CrawlerOptions,
): Promise<InternalHasteMap> {
if (options.mapper) {
throw new Error(`Option 'mapper' isn't supported on this crawler`);
throw new Error(`Option 'mapper' isn't supported by the Node crawler`);
}

const {data, extensions, forceNodeFilesystemAPI, ignore, roots} = options;
Expand Down