@@ -49,7 +49,7 @@ export async function createClass(
4949 // Sleep 5s to wait for the repo to be created and initial commit pushed.
5050 /* istanbul ignore next */
5151 if ( process . env . NODE_ENV !== 'test' )
52- await new Promise ( ( resolve ) => setTimeout ( resolve , 5000 ) )
52+ await new Promise ( ( resolve ) => setTimeout ( resolve , 10000 ) )
5353
5454 await repos . configure ( octokit , classroom , repo )
5555 }
@@ -147,7 +147,7 @@ export async function addUser(
147147 // Sleep 5s to wait for the repo to be created and initial commit pushed.
148148 /* istanbul ignore next */
149149 if ( process . env . NODE_ENV !== 'test' )
150- await new Promise ( ( resolve ) => setTimeout ( resolve , 5000 ) )
150+ await new Promise ( ( resolve ) => setTimeout ( resolve , 10000 ) )
151151
152152 await repos . configure ( octokit , classroom , repo )
153153
@@ -263,7 +263,7 @@ export async function addAdmin(
263263 // Sleep 5s to wait for the repo to be created and initial commit pushed.
264264 /* istanbul ignore next */
265265 if ( process . env . NODE_ENV !== 'test' )
266- await new Promise ( ( resolve ) => setTimeout ( resolve , 5000 ) )
266+ await new Promise ( ( resolve ) => setTimeout ( resolve , 10000 ) )
267267
268268 await repos . configure ( octokit , classroom , repo )
269269
0 commit comments