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:
parent
c55b2fa1ae
commit
a89ef63477
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user