You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/integration/scanner/git-repo-scanner.test.js
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,21 @@
1
-
const{scan}=require('../helpers');
1
+
constretry=require("../retry");
2
2
3
-
test(
4
-
'gitleaks should find at least 1 repository in the GitHub secureCodeBox organisation',
3
+
const{ scan }=require("../helpers");
4
+
5
+
retry(
6
+
"gitleaks should find at least 1 repository in the GitHub secureCodeBox organisation",
7
+
3,
5
8
async()=>{
6
9
// This integration tests runs about 30min because of the GitHub Public API call rate limit.
7
10
// If you want to speed up you need to add an valid access token like: ['--git-type', 'github', '--organization', 'secureCodeBox', '--access-token', '23476VALID2345TOKEN'],
0 commit comments