@@ -23,7 +23,7 @@ describe("dynamicsWebApi.search -", () => {
2323 before ( ( ) => {
2424 const response = mocks . responses . searchMultiple ;
2525 scope = nock ( mocks . searchApiUrl )
26- . post ( mocks . responses . searchUrl , < any > searchQuery )
26+ . post ( mocks . responses . searchUrl , searchQuery as any )
2727 . reply ( response . status , response . responseText , response . responseHeaders ) ;
2828 } ) ;
2929
@@ -56,7 +56,7 @@ describe("dynamicsWebApi.search -", () => {
5656 before ( ( ) => {
5757 const response = mocks . responses . searchMultiple ;
5858 scope = nock ( mocks . searchApiUrl )
59- . post ( mocks . responses . searchUrl , < any > searchQuery )
59+ . post ( mocks . responses . searchUrl , searchQuery as any )
6060 . reply ( response . status , response . responseText , response . responseHeaders ) ;
6161 } ) ;
6262
@@ -91,7 +91,7 @@ describe("dynamicsWebApi.search -", () => {
9191 CallerObjectId : mocks . data . testEntityId3 ,
9292 } ,
9393 } )
94- . post ( mocks . responses . searchUrl , < any > searchQuery )
94+ . post ( mocks . responses . searchUrl , searchQuery as any )
9595 . reply ( response . status , response . responseText , response . responseHeaders ) ;
9696 } ) ;
9797
@@ -128,7 +128,7 @@ describe("dynamicsWebApi.suggest -", () => {
128128 before ( ( ) => {
129129 const response = mocks . responses . suggestMultiple ;
130130 scope = nock ( mocks . searchApiUrl )
131- . post ( mocks . responses . suggestUrl , < any > suggestQuery )
131+ . post ( mocks . responses . suggestUrl , suggestQuery as any )
132132 . reply ( response . status , response . responseText , response . responseHeaders ) ;
133133 } ) ;
134134
@@ -161,7 +161,7 @@ describe("dynamicsWebApi.suggest -", () => {
161161 before ( ( ) => {
162162 const response = mocks . responses . suggestMultiple ;
163163 scope = nock ( mocks . searchApiUrl )
164- . post ( mocks . responses . suggestUrl , < any > suggestQuery )
164+ . post ( mocks . responses . suggestUrl , suggestQuery as any )
165165 . reply ( response . status , response . responseText , response . responseHeaders ) ;
166166 } ) ;
167167
@@ -196,7 +196,7 @@ describe("dynamicsWebApi.suggest -", () => {
196196 CallerObjectId : mocks . data . testEntityId3 ,
197197 } ,
198198 } )
199- . post ( mocks . responses . suggestUrl , < any > suggestQuery )
199+ . post ( mocks . responses . suggestUrl , suggestQuery as any )
200200 . reply ( response . status , response . responseText , response . responseHeaders ) ;
201201 } ) ;
202202
@@ -233,7 +233,7 @@ describe("dynamicsWebApi.autocomplete -", () => {
233233 before ( ( ) => {
234234 const response = mocks . responses . autocompleteResult ;
235235 scope = nock ( mocks . searchApiUrl )
236- . post ( mocks . responses . autocompleteUrl , < any > autocompleteQuery )
236+ . post ( mocks . responses . autocompleteUrl , autocompleteQuery as any )
237237 . reply ( response . status , response . responseText , response . responseHeaders ) ;
238238 } ) ;
239239
@@ -270,7 +270,7 @@ describe("dynamicsWebApi.autocomplete -", () => {
270270 CallerObjectId : mocks . data . testEntityId3 ,
271271 } ,
272272 } )
273- . post ( mocks . responses . autocompleteUrl , < any > autocompleteQuery )
273+ . post ( mocks . responses . autocompleteUrl , autocompleteQuery as any )
274274 . reply ( response . status , response . responseText , response . responseHeaders ) ;
275275 } ) ;
276276
@@ -304,7 +304,7 @@ describe("dynamicsWebApi.autocomplete -", () => {
304304 before ( ( ) => {
305305 const response = mocks . responses . autocompleteResult ;
306306 scope = nock ( mocks . searchApiUrl )
307- . post ( mocks . responses . autocompleteUrl , < any > autocompleteQuery )
307+ . post ( mocks . responses . autocompleteUrl , autocompleteQuery as any )
308308 . reply ( response . status , response . responseText , response . responseHeaders ) ;
309309 } ) ;
310310
0 commit comments