tests - fetchMarketLeverageTiers fix
diff --git a/js/test/Exchange/test.fetchMarketLeverageTiers.js b/js/test/Exchange/test.fetchMarketLeverageTiers.js
index 46c8a5cefeae..e0d168454000 100644
--- a/js/test/Exchange/test.fetchMarketLeverageTiers.js
+++ b/js/test/Exchange/test.fetchMarketLeverageTiers.js
@@ -7,6 +7,13 @@ const assert = require ('assert')
 module.exports = async (exchange, symbol) => {
     const method = 'fetchMarketLeverageTiers';
     if (exchange.has[method]) {
+
+        const market = exchange.market (symbol);
+        if (market.spot) {
+            console.log (method + '() is not supported for spot markets');
+            return;
+        }
+
         const tiers = await exchange [method] (symbol);
         console.log (method + 'for ' + symbol);
         const arrayLength = tiers.length;
