aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/token-rates-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/token-rates-controller.js b/test/unit/token-rates-controller.js
index 55bfe7823..a49547313 100644
--- a/test/unit/token-rates-controller.js
+++ b/test/unit/token-rates-controller.js
@@ -20,6 +20,7 @@ describe('TokenRatesController', () => {
it('should fetch each token rate based on address', async () => {
const controller = new TokenRatesController()
+ controller.isActive = true
controller.fetchExchangeRate = address => address
controller.tokens = [{ address: 'foo' }, { address: 'bar' }]
await controller.updateExchangeRates()