Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
chvarkov committed Jul 19, 2020
1 parent f0d1f70 commit 5a94847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/google-recaptcha-module.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Google recaptcha module', () => {
secretKey: process.env.GOOGLE_RECAPTCHA_SECRET_KEY,
response: req => req.headers.authorization,
skipIf: req => process.env.NODE_ENV !== 'production',
onError: e => {
onError: () => {
throw new BadRequestException('Invalid recaptcha.')
}
})
Expand Down

0 comments on commit 5a94847

Please sign in to comment.