|
|
@ -6,10 +6,11 @@ import { InlineMonoText } from '../../components/Text'; |
|
|
|
const buildPeacefulStringTestBatch: BuildInputTestBatchFunction = ( |
|
|
|
const buildPeacefulStringTestBatch: BuildInputTestBatchFunction = ( |
|
|
|
inputName, |
|
|
|
inputName, |
|
|
|
onSuccess, |
|
|
|
onSuccess, |
|
|
|
{ onFinishBatch, ...defaults } = {}, |
|
|
|
{ isRequired, onFinishBatch, ...defaults } = {}, |
|
|
|
onTestPeacefulStringFailureAppend, |
|
|
|
onTestPeacefulStringFailureAppend, |
|
|
|
) => ({ |
|
|
|
) => ({ |
|
|
|
defaults: { ...defaults, onSuccess }, |
|
|
|
defaults: { ...defaults, onSuccess }, |
|
|
|
|
|
|
|
isRequired, |
|
|
|
onFinishBatch, |
|
|
|
onFinishBatch, |
|
|
|
tests: [ |
|
|
|
tests: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|