Skip to content

Commit

Permalink
eslint prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Jun 8, 2021
1 parent 9393481 commit 28c133e
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions packages/jest-resolve/src/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,13 +433,8 @@ export class ResolverAsync extends BaseResolver {
moduleName: string,
options?: ResolveModuleConfig,
): Promise<Config.Path | null> {
const {
extensions,
key,
moduleDirectory,
paths,
skipResolution,
} = this._prepareForResolution(dirname, moduleName, options);
const {extensions, key, moduleDirectory, paths, skipResolution} =
this._prepareForResolution(dirname, moduleName, options);

let module;

Expand Down Expand Up @@ -711,13 +706,8 @@ export default class Resolver extends BaseResolver {
moduleName: string,
options?: ResolveModuleConfig,
): Config.Path | null {
const {
extensions,
key,
moduleDirectory,
paths,
skipResolution,
} = this._prepareForResolution(dirname, moduleName, options);
const {extensions, key, moduleDirectory, paths, skipResolution} =
this._prepareForResolution(dirname, moduleName, options);

let module;

Expand Down

0 comments on commit 28c133e

Please sign in to comment.