You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing some unit test for a chrome-extension and I was testing the function that uses chrome.i18n.getMessage(). Each test passes smoothly at first but I have to skip the second test on the specific function. .
But after testing my function by removing the skip at line 57, that happens :
According to the Wiki about Cookie plugin, I assume the registered plugin must be removed after the test in order to restore the sinon stubs.
I tried the chrome.flush() and delete chrome, both didn't work.
** ❓ Does somebody know to do this ❓ **
The text was updated successfully, but these errors were encountered:
I'm writing some unit test for a chrome-extension and I was testing the function that uses
chrome.i18n.getMessage()
. Each test passes smoothly at first but I have to skip the second test on the specific function..
But after testing my function by removing the
skip
at line 57, that happens :According to the Wiki about Cookie plugin, I assume the registered plugin must be removed after the test in order to restore the sinon stubs.
I tried the
chrome.flush()
anddelete chrome
, both didn't work.** ❓ Does somebody know to do this ❓ **
The text was updated successfully, but these errors were encountered: