fixing docs

This commit is contained in:
Grégoire Chevalier
2023-06-14 10:44:57 +02:00
parent 5bc74b3514
commit 410ff3cbc4
3 changed files with 4 additions and 4 deletions

View File

@@ -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,
),
},

View File

@@ -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,