Skip to content

Commit e0e49ab

Browse files
Narretznetman92
authored andcommitted
chore(tests): don't rewrite urls for external scripts
1 parent c95ef0c commit e0e49ab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/e2e/tools/util.js

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ function testExists(testname) {
2424
}
2525

2626
function rewriteTestFile(testname, testfile) {
27+
if (testfile.search(/^https?:\/\//) === 0) {
28+
return testfile;
29+
}
30+
2731
var i = 0;
2832
while (testfile[i] === '/') ++i;
2933
testfile = testfile.slice(i);

0 commit comments

Comments
 (0)