Add E2E test for importing file from URL

This commit is contained in:
Frank Noirot
2025-01-10 15:08:56 -05:00
parent ebc6b6460d
commit e417e60053
6 changed files with 68 additions and 6 deletions

View File

@ -152,7 +152,8 @@ export const projectsCommandBarConfig: StateMachineCommandSetConfig<
required: true,
skip: true,
valueSummary(value) {
return value?.trim().split('\n').length + ' lines'
const lineCount = value?.trim().split('\n').length
return `${lineCount} line${lineCount === 1 ? '' : 's'}`
},
},
units: {