Skip to content

Commit

Permalink
refactor(webhook-service): add tests for webhook services
Browse files Browse the repository at this point in the history
- moved webhook url validation to new file and updated references
- updated tests for webhook validation

ref #193
  • Loading branch information
orbitalsqwib authored and mantariksh committed Mar 31, 2021
1 parent 693cf78 commit 8e057c1
Show file tree
Hide file tree
Showing 7 changed files with 488 additions and 304 deletions.
2 changes: 1 addition & 1 deletion src/app/models/form.server.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { IPopulatedUser, IUserSchema } from '../../types/user'
import { MB } from '../constants/filesize'
import { OverrideProps } from '../modules/form/admin-form/admin-form.types'
import { transformEmails } from '../modules/form/form.utils'
import { validateWebhookUrl } from '../modules/webhook/webhook.utils'
import { validateWebhookUrl } from '../modules/webhook/webhook.validation'

import getAgencyModel from './agency.server.model'
import {
Expand Down
Loading

0 comments on commit 8e057c1

Please sign in to comment.