@@ -86,10 +86,10 @@ describe('Usage', () => {
8686 // eslint-disable-next-line no-new
8787 new InstantSearch ( { indexName : 'indexName' , searchClient : undefined } ) ;
8888 } ) . toThrowErrorMatchingInlineSnapshot ( `
89- "The \`searchClient\` option is required.
89+ "The \`searchClient\` option is required.
9090
91- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
92- ` ) ;
91+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
92+ `) ;
9393 } ) ;
9494
9595 it ( 'throws if searchClient does not implement a search method' , ( ) => {
@@ -98,10 +98,10 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
9898 // eslint-disable-next-line no-new
9999 new InstantSearch ( { indexName : 'indexName' , searchClient : { } } ) ;
100100 } ) . toThrowErrorMatchingInlineSnapshot ( `
101- "The \`searchClient\` must implement a \`search\` method.
101+ "The \`searchClient\` must implement a \`search\` method.
102102
103- See: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/"
104- ` ) ;
103+ See: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/"
104+ `) ;
105105 } ) ;
106106
107107 describe ( 'root index warning' , ( ) => {
@@ -174,10 +174,10 @@ See: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend
174174 insightsClient : 'insights' ,
175175 } ) ;
176176 } ) . toThrowErrorMatchingInlineSnapshot ( `
177- "The \`insightsClient\` option should be a function.
177+ "The \`insightsClient\` option should be a function.
178178
179- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
180- ` ) ;
179+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
180+ `) ;
181181 } ) ;
182182
183183 it ( 'throws if addWidgets is called with a single widget' , ( ) => {
@@ -189,10 +189,10 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
189189 // @ts -expect-error
190190 search . addWidgets ( { } ) ;
191191 } ) . toThrowErrorMatchingInlineSnapshot ( `
192- "The \`addWidgets\` method expects an array of widgets. Please use \`addWidget\`.
192+ "The \`addWidgets\` method expects an array of widgets. Please use \`addWidget\`.
193193
194- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
195- ` ) ;
194+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
195+ `) ;
196196 } ) ;
197197
198198 it ( 'throws if a widget without render or init method is added' , ( ) => {
@@ -205,10 +205,10 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
205205 } ) ;
206206 search . addWidgets ( widgets ) ;
207207 } ) . toThrowErrorMatchingInlineSnapshot ( `
208- "The widget definition expects a \`render\` and/or an \`init\` method.
208+ "The widget definition expects a \`render\` and/or an \`init\` method.
209209
210- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch /js/"
211- ` ) ;
210+ See documentation: https://www.algolia.com/doc/api-reference/widgets/index-widget /js/"
211+ `) ;
212212 } ) ;
213213
214214 it ( 'does not throw with a widget having a init method' , ( ) => {
@@ -244,10 +244,10 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
244244 // @ts -expect-error
245245 search . removeWidgets ( { } ) ;
246246 } ) . toThrowErrorMatchingInlineSnapshot ( `
247- "The \`removeWidgets\` method expects an array of widgets. Please use \`removeWidget\`.
247+ "The \`removeWidgets\` method expects an array of widgets. Please use \`removeWidget\`.
248248
249- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
250- ` ) ;
249+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
250+ `) ;
251251 } ) ;
252252
253253 it ( 'throws if a widget without dispose method is removed' , ( ) => {
@@ -262,10 +262,10 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
262262 } ) ;
263263 search . removeWidgets ( widgets ) ;
264264 } ) . toThrowErrorMatchingInlineSnapshot ( `
265- "The widget definition expects a \`dispose\` method.
265+ "The widget definition expects a \`dispose\` method.
266266
267- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch /js/"
268- ` ) ;
267+ See documentation: https://www.algolia.com/doc/api-reference/widgets/index-widget /js/"
268+ `) ;
269269 } ) ;
270270
271271 it ( 'throws if createURL is called before start' , ( ) => {
@@ -275,10 +275,10 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
275275 } ) ;
276276
277277 expect ( ( ) => search . createURL ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
278- "The \`start\` method needs to be called before \`createURL\`.
278+ "The \`start\` method needs to be called before \`createURL\`.
279279
280- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
281- ` ) ;
280+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
281+ `) ;
282282 } ) ;
283283
284284 it ( 'throws if refresh is called before start' , ( ) => {
@@ -288,10 +288,10 @@ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsear
288288 } ) ;
289289
290290 expect ( ( ) => search . refresh ( ) ) . toThrowErrorMatchingInlineSnapshot ( `
291- "The \`start\` method needs to be called before \`refresh\`.
291+ "The \`start\` method needs to be called before \`refresh\`.
292292
293- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
294- ` ) ;
293+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
294+ `) ;
295295 } ) ;
296296
297297 it ( 'warns dev with EXPERIMENTAL_use' , ( ) => {
@@ -1241,10 +1241,10 @@ describe('start', () => {
12411241 expect ( ( ) => {
12421242 instance . start ( ) ;
12431243 } ) . toThrowErrorMatchingInlineSnapshot ( `
1244- "The \`start\` method has already been called once.
1244+ "The \`start\` method has already been called once.
12451245
1246- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
1247- ` ) ;
1246+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
1247+ `) ;
12481248 } ) ;
12491249
12501250 it ( 'keeps a mainHelper already set on the instance (Vue SSR)' , ( ) => {
@@ -2217,10 +2217,10 @@ describe('setUiState', () => {
22172217 expect ( ( ) => {
22182218 search . setUiState ( { } ) ;
22192219 } ) . toThrowErrorMatchingInlineSnapshot ( `
2220- "The \`start\` method needs to be called before \`setUiState\`.
2220+ "The \`start\` method needs to be called before \`setUiState\`.
22212221
2222- See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
2223- ` ) ;
2222+ See documentation: https://www.algolia.com/doc/api-reference/widgets/instantsearch/js/"
2223+ `) ;
22242224 } ) ;
22252225
22262226 test ( 'triggers a search' , async ( ) => {
0 commit comments