var Limit = require('../../ratelimiter/limit');

var l1 = new Limit("{sourceName}:global:daily", 86400, 4000);
var l2 = new Limit("{sourceName}:global:hourly", 3600, 2000);
var l3 = new Limit("{sourceName}:{userID}:daily", 86400, 500);
var l4 = new Limit("{sourceName}:{userID}:hourly", 3600, 100);

var limits = [l1,l2,l3,l4];

module.exports = limits;
@@ -38,24 +38,65 @@
 r/limit');%0A%0A
+// First limit set for multi limit tests%0A
 var l1 = new
@@ -143,22 +143,19 @@
 0, 4000)
-;%0Avar 
+,%0A%09
 l2 = new
@@ -202,22 +202,19 @@
 0, 2000)
-;%0Avar 
+,%0A%09
 l3 = new
@@ -266,16 +266,292 @@
 500)
-;%0Avar l4
+,%0A%09l4 = new Limit(%22%7BsourceName%7D:%7BuserID%7D:hourly%22, 3600, 100);%0A%0A// Second limit set for expire tests%0Avar l5 = new Limit(%22%7BsourceName%7D:global:daily%22, 86400, 4000),%0A%09l6 = new Limit(%22%7BsourceName%7D:global:hourly%22, 3600, 2000),%0A%09l7 = new Limit(%22%7BsourceName%7D:%7BuserID%7D:daily%22, 86400, 500),%0A%09l8
  = n
@@ -617,16 +617,17 @@
 imits = 
+%5B
 %5Bl1,l2,l
@@ -631,16 +631,31 @@
 2,l3,l4%5D
+,%5Bl5,l6,l7,l8%5D%5D
 ;%0A%0Amodul

Add more to the test data set