Skip to content

Commit

Permalink
feat(#578): additional start_from test
Browse files Browse the repository at this point in the history
  • Loading branch information
1yuv authored Oct 25, 2023
1 parent 5da51f8 commit 39f6948
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/lib/validate-app-settings.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,18 @@ describe('validate-app-settings', () => {
}]);
});

it('start_from as single element on array is valid.', () => {
isValid([{
name: 'schedule name',
start_from: ['dob'],
messages: [{
translation_key: 'a.b',
group: '1',
offset: '0'
}]
}]);
});

it('start_from as an array is valid.', () => {
isValid([{
name: 'schedule name',
Expand Down

0 comments on commit 39f6948

Please sign in to comment.