UNPKG

@this-dot/cypress-indexeddb

Version:

A Cypress.io helper library for reading and manipulating data inside IndexedDB

10 lines (9 loc) 322 B
/** * Deletes the database based on the provided string. * * @param databaseName - The database name you want to delete * * @returns An Promise<void>. * @throws {Error} If the database does not exist or is blocked by open connections. */ export declare function deleteDatabase(databaseName: string): Promise<void>;