Skip to content

Commit

Permalink
cast away the type error
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 25, 2019
1 parent 6a8799c commit 9f9d473
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/jest-config/src/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,10 @@ export default function normalize(
}

setupBabelJest(options);
const newOptions: AllOptions = {
// TODO: Type this properly
const newOptions = ({
...DEFAULT_CONFIG,
};
} as unknown) as AllOptions;

try {
// try to resolve windows short paths, ignoring errors (permission errors, mostly)
Expand Down

0 comments on commit 9f9d473

Please sign in to comment.