@backstage/frontend-test-utils
Home > @backstage/frontend-test-utils
Contains utilities that can be used when testing frontend features such as extensions.
Classes
|
Class |
Description |
|---|---|
|
Mock implementation of AnalyticsApi with helpers to ensure that events are sent correctly. Use getEvents in tests to verify captured events. |
Functions
|
Function |
Description |
|---|---|
|
Renders the given element in a test app, for use in unit tests. | |
|
Renders the provided extensions inside a Backstage app, returning the same utilities as |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Options for | |
|
Options to customize the behavior of the test app. |