Skip to content

Commit

Permalink
Private eyes
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonStoltz committed Feb 2, 2021
1 parent afa1665 commit b43820e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class MockRouter {
expect(() => this.validateRoute(request)).toThrow();
};

findRouteRegistration = () => {
private findRouteRegistration = () => {
const routerCalls = this.router[this.method].mock.calls as any[];
if (!routerCalls.length) throw new Error('No routes registered.');

Expand Down

0 comments on commit b43820e

Please sign in to comment.