Skip to content

Wildberries API TypeScript SDK / resetDeprecationWarnings

Function: resetDeprecationWarnings() ​

ts
function resetDeprecationWarnings(): void;

Defined in: utils/deprecation.ts:49

Reset all deprecation warning flags. Test helper only.

Call in beforeEach to ensure deprecation warnings fire again in each test.

Returns ​

void

Example ​

typescript
import { resetDeprecationWarnings } from 'daytona-wildberries-typescript-sdk';

beforeEach(() => {
  resetDeprecationWarnings();
});

Made with ❤️ for the Wildberries developer community