Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
test(chart): hit all branches in sanitizeLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Williams committed Mar 20, 2019
1 parent 2610836 commit 2d990e5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ describe('SuperChart', () => {
}),
// this mirrors `() => import(module)` syntax
loadChart: () => Promise.resolve({ default: TestComponent }),
transformProps: x => x,
// promise without .default
loadTransformProps: () => Promise.resolve((x: any) => x),
});
}
}
Expand Down

0 comments on commit 2d990e5

Please sign in to comment.