@@ -1907,7 +1907,6 @@ describe("Primitive > rateLimit", () => {
1907
1907
characteristics : [ "ip.src" ] ,
1908
1908
window : "1h" ,
1909
1909
max : 1 ,
1910
- timeout : "10m" ,
1911
1910
} ) ;
1912
1911
expect ( rule . type ) . toEqual ( "RATE_LIMIT" ) ;
1913
1912
expect ( rule ) . toHaveProperty ( "mode" , "DRY_RUN" ) ;
@@ -1919,7 +1918,6 @@ describe("Primitive > rateLimit", () => {
1919
1918
characteristics : [ "ip.src" ] ,
1920
1919
window : "1h" ,
1921
1920
max : 1 ,
1922
- timeout : "10m" ,
1923
1921
} ;
1924
1922
1925
1923
const rules = rateLimit ( options ) ;
@@ -1930,7 +1928,6 @@ describe("Primitive > rateLimit", () => {
1930
1928
expect ( rules [ 0 ] ) . toHaveProperty ( "characteristics" , [ "ip.src" ] ) ;
1931
1929
expect ( rules [ 0 ] ) . toHaveProperty ( "window" , "1h" ) ;
1932
1930
expect ( rules [ 0 ] ) . toHaveProperty ( "max" , 1 ) ;
1933
- expect ( rules [ 0 ] ) . toHaveProperty ( "timeout" , "10m" ) ;
1934
1931
} ) ;
1935
1932
1936
1933
test ( "produces a multiple rules based on multiple `limit` specified" , async ( ) => {
@@ -1940,14 +1937,12 @@ describe("Primitive > rateLimit", () => {
1940
1937
characteristics : [ "ip.src" ] ,
1941
1938
window : "1h" ,
1942
1939
max : 1 ,
1943
- timeout : "10m" ,
1944
1940
} ,
1945
1941
{
1946
1942
match : "/test-double" ,
1947
1943
characteristics : [ "ip.src" ] ,
1948
1944
window : "2h" ,
1949
1945
max : 2 ,
1950
- timeout : "20m" ,
1951
1946
} ,
1952
1947
] ;
1953
1948
@@ -1961,7 +1956,6 @@ describe("Primitive > rateLimit", () => {
1961
1956
characteristics : [ "ip.src" ] ,
1962
1957
window : "1h" ,
1963
1958
max : 1 ,
1964
- timeout : "10m" ,
1965
1959
} ) ,
1966
1960
expect . objectContaining ( {
1967
1961
type : "RATE_LIMIT" ,
@@ -1970,7 +1964,6 @@ describe("Primitive > rateLimit", () => {
1970
1964
characteristics : [ "ip.src" ] ,
1971
1965
window : "2h" ,
1972
1966
max : 2 ,
1973
- timeout : "20m" ,
1974
1967
} ) ,
1975
1968
] ) ;
1976
1969
} ) ;
@@ -1979,7 +1972,6 @@ describe("Primitive > rateLimit", () => {
1979
1972
const options = {
1980
1973
window : "1h" ,
1981
1974
max : 1 ,
1982
- timeout : "10m" ,
1983
1975
} ;
1984
1976
1985
1977
const [ rule ] = rateLimit ( options ) ;
@@ -1993,12 +1985,10 @@ describe("Primitive > rateLimit", () => {
1993
1985
{
1994
1986
window : "1h" ,
1995
1987
max : 1 ,
1996
- timeout : "10m" ,
1997
1988
} ,
1998
1989
{
1999
1990
window : "2h" ,
2000
1991
max : 2 ,
2001
- timeout : "20m" ,
2002
1992
} ,
2003
1993
] ;
2004
1994
@@ -2011,7 +2001,6 @@ describe("Primitive > rateLimit", () => {
2011
2001
characteristics : undefined ,
2012
2002
window : "1h" ,
2013
2003
max : 1 ,
2014
- timeout : "10m" ,
2015
2004
} ) ,
2016
2005
expect . objectContaining ( {
2017
2006
type : "RATE_LIMIT" ,
@@ -2020,7 +2009,6 @@ describe("Primitive > rateLimit", () => {
2020
2009
characteristics : undefined ,
2021
2010
window : "2h" ,
2022
2011
max : 2 ,
2023
- timeout : "20m" ,
2024
2012
} ) ,
2025
2013
] ) ;
2026
2014
} ) ;
@@ -2360,7 +2348,6 @@ describe("Products > protectSignup", () => {
2360
2348
characteristics : [ "ip.src" ] ,
2361
2349
window : "1h" ,
2362
2350
max : 1 ,
2363
- timeout : "10m" ,
2364
2351
} ,
2365
2352
bots : {
2366
2353
mode : ArcjetMode . DRY_RUN ,
@@ -2381,14 +2368,12 @@ describe("Products > protectSignup", () => {
2381
2368
characteristics : [ "ip.src" ] ,
2382
2369
window : "1h" ,
2383
2370
max : 1 ,
2384
- timeout : "10m" ,
2385
2371
} ,
2386
2372
{
2387
2373
match : "/test" ,
2388
2374
characteristics : [ "ip.src" ] ,
2389
2375
window : "2h" ,
2390
2376
max : 2 ,
2391
- timeout : "20m" ,
2392
2377
} ,
2393
2378
] ,
2394
2379
} ) ;
@@ -3440,7 +3425,6 @@ describe("Arcjet: Env = Serverless Node runtime on Vercel", () => {
3440
3425
characteristics : [ "ip.src" ] ,
3441
3426
window : "1h" ,
3442
3427
max : 1 ,
3443
- timeout : "10m" ,
3444
3428
} ;
3445
3429
const fingerprint =
3446
3430
"fp_1_ac8547705f1f45c5050f1424700dfa3f6f2f681b550ca4f3c19571585aea7a2c" ;
0 commit comments