Skip to content

Commit

Permalink
test: provide ws
Browse files Browse the repository at this point in the history
  • Loading branch information
marksvc committed Feb 5, 2025
1 parent d91457c commit db36b13
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ describe('DraftSourcesComponent', () => {
name: 'Project 1',
shortName: 'PRJ1',
projectRef: '',
writingSystem: undefined,
writingSystem: { tag: 'en' },
texts: []
};
const mockProject2: DraftSource = {
paratextId: 'pt02',
name: 'Project 2',
shortName: 'PRJ2',
projectRef: '',
writingSystem: undefined,
writingSystem: { tag: 'en' },
texts: []
};
const mockTarget: DraftSource = {
Expand All @@ -124,15 +124,15 @@ describe('DraftSourcesComponent', () => {
projectRef: '',
name: '',
shortName: '',
writingSystem: undefined
writingSystem: { tag: 'en' }
};
const someOtherTarget: DraftSource = {
paratextId: 'some-other-id',
texts: [],
projectRef: '',
name: '',
shortName: '',
writingSystem: undefined
writingSystem: { tag: 'en' }
};

it('should handle empty sources', () => {
Expand Down

0 comments on commit db36b13

Please sign in to comment.