File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -327,19 +327,18 @@ describe.each([{ permission: 'Master' }, { permission: 'Private' }])(
327
327
expect ( response ) . toHaveProperty ( 'fieldDistribution' , { } )
328
328
} )
329
329
330
- test ( `${ permission } key: Get updatedAt and createdAt of created index ` , async ( ) => {
330
+ test ( `${ permission } key: Get updatedAt and createdAt through fetch info ` , async ( ) => {
331
331
const client = await getClient ( permission )
332
332
const { uid } = await client . createIndex ( indexPk . uid )
333
333
await client . waitForTask ( uid )
334
334
335
- const index = client . index ( indexPk . uid )
336
- await index . getRawInfo ( )
335
+ const index = await client . index ( indexPk . uid ) . fetchInfo ( )
337
336
338
337
expect ( index . createdAt ) . toBeInstanceOf ( Date )
339
338
expect ( index . updatedAt ) . toBeInstanceOf ( Date )
340
339
} )
341
340
342
- test ( `${ permission } key: Get updatedAt and createdAt index witch fetched information ` , async ( ) => {
341
+ test ( `${ permission } key: Get updatedAt and createdAt index through getRawInfo ` , async ( ) => {
343
342
const client = await getClient ( permission )
344
343
const { uid } = await client . createIndex ( indexPk . uid )
345
344
await client . waitForTask ( uid )
You can’t perform that action at this time.
0 commit comments