---
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:614](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/docs/search.ts#L614)

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

## Returns

`void`
