Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 17f02d5

Browse files
Narretzpetebacondarwin
authored andcommitted
chore(tests): don't rewrite urls for external scripts
1 parent 342e5f3 commit 17f02d5

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)