TestCaches
Home > @backstage/backend-test-utils
> TestCaches
Encapsulates the creation of ephemeral test cache instances for use inside unit or integration tests.
Signature:
class TestCaches
Methods
Method | Modifiers | Description |
---|---|---|
create(options) | static | Creates an empty You typically want to create just a single instance like this at the top of your test file or |
eachSupportedId() | ||
init(id) | Returns a fresh, empty cache for the given driver. | |
setDefaults(options) | static | |
supports(id) |