mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reset instance
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
1 file changed
+4
@@ -34,6 +34,10 @@ describe("<CatalogEntityDetails />", () => {
|
||||
beforeEach(() => {
|
||||
CatalogEntityDetailRegistry.createInstance();
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
CatalogEntityDetailRegistry.resetInstance();
|
||||
});
|
||||
|
||||
it("trigger onRun when click on detail panel icon", () => {
|
||||
const onRun = jest.fn();
|
||||
|
||||
Reference in new issue
Block a user