diff --git a/test/spec/components/Feel.spec.js b/test/spec/components/Feel.spec.js index fdbf538c..3e5a85f8 100644 --- a/test/spec/components/Feel.spec.js +++ b/test/spec/components/Feel.spec.js @@ -1970,7 +1970,7 @@ describe('', function() { // given const clock = sinon.useFakeTimers(); - const result = createFeelField({ container, getValue: () => '= foo == bar', feel: 'required' }); + const result = createFeelField({ container, getValue: () => '= ...syntax error...', feel: 'required' }); // when // trigger debounced validation diff --git a/test/spec/components/Templating.spec.js b/test/spec/components/Templating.spec.js index 6e1e31f4..3ad831ac 100644 --- a/test/spec/components/Templating.spec.js +++ b/test/spec/components/Templating.spec.js @@ -190,7 +190,7 @@ describe('', function() { it('should show syntax error (FEEL)', async function() { // given - let result = createTemplatingEntry({ container, getValue: () => '= foo == bar' }); + let result = createTemplatingEntry({ container, getValue: () => '= ...syntax error...' }); // when await act(() => clock.tick(1000)); @@ -207,7 +207,7 @@ describe('', function() { it('should show syntax error (feelers)', async function() { // given - const result = createTemplatingEntry({ container, getValue: () => 'Template {{foo == bar}}' }); + const result = createTemplatingEntry({ container, getValue: () => 'Template {{...syntax error...}}' }); // when // trigger debounced validation @@ -250,7 +250,7 @@ describe('', function() { id: 'foo', container, errors, - getValue: () => '= foo == bar' + getValue: () => '= ....syntax error....' }); // assume