Skip to content

Commit b6ed17d

Browse files
committed
code review tweaks
1 parent 0160da8 commit b6ed17d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/info/domain/useCases/GetApplicationTermsOfUse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class GetApplicationTermsOfUse implements UseCase<string> {
1111
/**
1212
* Returns a string containing the application terms of use.
1313
*
14+
* @param {string} [lang] - Optional language parameter to specify the language of the terms of use.
1415
* @returns {Promise<string>}
1516
*/
1617
async execute(lang?: string): Promise<string> {

test/integration/info/DataverseInfoRepository.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ describe('DataverseInfoRepository', () => {
6262

6363
expect(actual).toBe(defaultNoTermsOfUseMessage)
6464
})
65+
6566
test('should return terms when terms are set', async () => {
6667
const testTermsOfUse = 'Be excellent to each other.'
6768
await setApplicationTermsOfUseViaApi(testTermsOfUse)

0 commit comments

Comments
 (0)