Skip to content

Commit

Permalink
Fix typo in _getAbsolutPath (#6685)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuhQ authored and SimenB committed Jul 13, 2018
1 parent 6c61baa commit 7eaeb03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jest-resolve/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class Resolver {
}

const moduleType = this._getModuleType(moduleName);
const absolutePath = this._getAbsolutPath(virtualMocks, from, moduleName);
const absolutePath = this._getAbsolutePath(virtualMocks, from, moduleName);
const mockPath = this._getMockPath(from, moduleName);

const sep = path.delimiter;
Expand All @@ -296,7 +296,7 @@ class Resolver {
return this.isCoreModule(moduleName) ? 'node' : 'user';
}

_getAbsolutPath(
_getAbsolutePath(
virtualMocks: BooleanObject,
from: Path,
moduleName: string,
Expand Down

0 comments on commit 7eaeb03

Please sign in to comment.