---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [docs](../index.md) / resetDocsCache

# Function: resetDocsCache()

> **resetDocsCache**(): `void`

Defined in: [packages/b2c-tooling-sdk/src/docs/search.ts:626](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/eee4a3582430c731fadd77072888a1468c2fe25b/packages/b2c-tooling-sdk/src/docs/search.ts#L626)

Resets the in-memory index/search caches. Intended for tests that swap the
bundled data on disk between assertions.

## Returns

`void`
