aboutsummaryrefslogtreecommitdiffstats
path: root/client/js
diff options
context:
space:
mode:
authorValerij Fredriksen <valerijf@yahooinc.com>2023-01-30 11:12:06 +0100
committerValerij Fredriksen <valerijf@yahooinc.com>2023-01-30 11:12:06 +0100
commit438ca4b9205eb1bdef6fbcff1fb128b139ab00a7 (patch)
treecba0a693de8ea88f81cfb5ea3b4edb2868a318ac /client/js
parent621028913e4fecafc05ec27da4f20acb5f119e9a (diff)
Fix unit test
Diffstat (limited to 'client/js')
-rw-r--r--client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx b/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx
index bf164671639..fb050a7eeb9 100644
--- a/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx
+++ b/client/js/app/src/app/pages/querybuilder/context/__test__/query-builder-provider.test.jsx
@@ -2,8 +2,6 @@ import {
ACTION,
reducer,
} from 'app/pages/querybuilder/context/query-builder-provider';
-import parameters from 'app/pages/querybuilder/context/parameters';
-import { cloneDeep, omitBy } from 'lodash';
const state = reducer();
@@ -193,7 +191,7 @@ test('set query', () => {
error('POST', '{"yql":"test}', 'Unexpected end of JSON input');
msg =
- "Property 'ranking' cannot have a value, supported children: features,freshness,listFeatures,location,matchPhase,matching,profile,properties,queryCache,rerankCount,sorting";
+ "Property 'ranking' cannot have a value, supported children: features,freshness,listFeatures,location,matchPhase,matching,profile,properties,queryCache,rerankCount,softtimeout,sorting";
error('POST', '{"ranking":123}', msg);
error('GET', 'ranking=123', msg);