Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a02bbf4c4f |
@@ -25,15 +25,8 @@ const MAINNET_TOKEN = {
|
||||
name: "Dai Stablecoin",
|
||||
};
|
||||
|
||||
// Fake timers hold the timer of the flash message a switch ends with, which
|
||||
// would otherwise fire after cleanupPopup() has removed the page and throw.
|
||||
beforeEach(() => {
|
||||
jest.useFakeTimers();
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
cleanupPopup();
|
||||
jest.useRealTimers();
|
||||
});
|
||||
|
||||
// The popup reopened onto SettingsAddToken, on `networkId`.
|
||||
|
||||
Reference in New Issue
Block a user