@@ -8,6 +8,8 @@ if (typeof exports === 'object') {
88 Test for issue #379
99*/
1010
11+ let baseUrl = "github.com/AlaSQL/alasql/raw/refs/heads/develop"
12+
1113var test = 418 ;
1214
1315describe ( 'Test ' + test + ' Load data from internet' , function ( ) {
@@ -38,7 +40,7 @@ describe('Test ' + test + ' Load data from internet', function () {
3840 }
3941
4042 describe ( '.xlsx from URL' , function ( ) {
41- var url = 'raw.githubusercontent.com/agershun/alasql/develop /test/test411.xlsx';
43+ var url = baseUrl + ' /test/test411.xlsx';
4244
4345 it ( 'Load http' , function ( done ) {
4446 this . timeout ( 10000 ) ;
@@ -52,7 +54,7 @@ describe('Test ' + test + ' Load data from internet', function () {
5254 } ) ;
5355
5456 describe ( '.xls from URL' , function ( ) {
55- var url = 'raw.githubusercontent.com/agershun/alasql/develop /test/test168.xls';
57+ var url = baseUrl + ' /test/test168.xls';
5658
5759 it ( 'Load http' , function ( done ) {
5860 this . timeout ( 10000 ) ;
@@ -66,21 +68,21 @@ describe('Test ' + test + ' Load data from internet', function () {
6668 } ) ;
6769
6870 describe ( '.json from URL' , function ( ) {
69- var url = 'raw.githubusercontent.com/agershun/alasql/develop /test/test157.json';
71+ var url = baseUrl + ' /test/test157.json';
7072
7173 it ( 'Load http' , function ( done ) {
7274 this . timeout ( 2000 ) ;
73- testRequest ( 2 , 'http://' + url , 'false' , done ) ;
75+ testRequest ( 3 , 'http://' + url , 'false' , done ) ;
7476 } ) ;
7577
7678 it ( 'Load https' , function ( done ) {
7779 this . timeout ( 10000 ) ;
78- testRequest ( 2 , 'https://' + url , 'false' , done ) ;
80+ testRequest ( 3 , 'https://' + url , 'false' , done ) ;
7981 } ) ;
8082 } ) ;
8183
8284 xdescribe ( '.tab from URL' , function ( ) {
83- var url = 'raw.githubusercontent.com/agershun/alasql/develop /test/test157.tab';
85+ var url = baseUrl + ' /test/test157.tab';
8486
8587 it ( 'Load http' , function ( done ) {
8688 this . timeout ( 10000 ) ;
@@ -94,7 +96,7 @@ describe('Test ' + test + ' Load data from internet', function () {
9496 } ) ;
9597
9698 describe ( '.txt from URL' , function ( ) {
97- var url = 'raw.githubusercontent.com/agershun/alasql/develop /test/test157.txt';
99+ var url = baseUrl + ' /test/test157.txt';
98100
99101 it ( 'Load http' , function ( done ) {
100102 this . timeout ( 10000 ) ;
@@ -108,7 +110,7 @@ describe('Test ' + test + ' Load data from internet', function () {
108110 } ) ;
109111
110112 describe ( '.csv from URL' , function ( ) {
111- var url = 'raw.githubusercontent.com/agershun/alasql/develop /test/test157a.csv';
113+ var url = baseUrl + ' /test/test157a.csv';
112114
113115 it ( 'Load http' , function ( done ) {
114116 this . timeout ( 10000 ) ;
0 commit comments