mirror of
https://gitlab.com/mobicoop/v3/service/ad.git
synced 2026-01-11 17:32:40 +00:00
fixing docs
This commit is contained in:
@@ -18,7 +18,7 @@ export const IsPunctualOrRecurrent = (
|
||||
isPunctualOrRecurrent(args),
|
||||
defaultMessage: buildMessage(
|
||||
() =>
|
||||
`the departureDateTime, from date, to date and schedule must be properly set on recurrent or punctual ad`,
|
||||
`the departure Date and time , from date, to date and schedule must be properly set on recurrent or punctual ad`,
|
||||
validationOptions,
|
||||
),
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Frequency } from '../../../domain/types/frequency.enum';
|
||||
describe('punctual or recurrent validators', () => {
|
||||
describe('punctual case ', () => {
|
||||
describe('valid cases', () => {
|
||||
it('should validate with valid departureDateTime and empty schedule ', () => {
|
||||
it('should validate with valid departure DateTime and empty schedule ', () => {
|
||||
expect(
|
||||
isPunctualOrRecurrent({
|
||||
value: undefined,
|
||||
|
||||
Reference in New Issue
Block a user