@@ -37,7 +37,7 @@ Object.defineProperty(globalThis, "crypto", {
3737 getRandomValues : ( arr : Array < any > ) => crypto . randomBytes ( arr . length ) ,
3838 } ,
3939} ) ;
40-
40+ // Increase the timeout for the test
4141describe ( "Visual builder" , ( ) => {
4242 beforeAll ( ( ) => {
4343 FieldSchemaMap . setFieldSchema (
@@ -84,7 +84,7 @@ describe("Visual builder", () => {
8484
8585 expect ( visualBuilderDOM ) . toMatchSnapshot ( ) ;
8686 x . destroy ( ) ;
87- } ) ;
87+ } , { timeout : 20 * 1000 } ) ;
8888
8989 test ( "should add overlay to DOM when clicked" , async ( ) => {
9090 const h1Tag = document . createElement ( "h1" ) ;
@@ -108,7 +108,7 @@ describe("Visual builder", () => {
108108 } ) ;
109109 } )
110110 x . destroy ( ) ;
111- } ) ;
111+ } , { timeout : 20 * 1000 } ) ;
112112
113113 describe ( "on click, the sdk" , ( ) => {
114114 afterEach ( ( ) => {
@@ -240,7 +240,7 @@ describe("Visual builder", () => {
240240 } , { timeout : 10 * 1000 } ) ;
241241 } ) ;
242242 } ) ;
243- } ) ;
243+ } , { timeout : 20 * 1000 } ) ;
244244
245245describe . skip ( "visual builder DOM" , ( ) => {
246246 let h1 : HTMLHeadElement ;
0 commit comments