TestDatabases
Home > @backstage/backend-test-utils > TestDatabases
Encapsulates the creation of ephemeral test database instances for use inside unit or integration tests.
Signature:
class TestDatabases
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Creates an empty You typically want to create just a single instance like this at the top of your test file or | |
|
Returns a fresh, unique, empty logical database on an instance of the given database ID platform. | ||
|
| ||