File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ options.testTimeout = options.testTimeout ? options.testTimeout : 30000
2727options . filter = options . filter ? options . filter : ''
2828options . browserstackConfig = options [ 'browserstack.config' ] ? options [ 'browserstack.config' ] : 'browserstack.yml'
2929options . buildFolderPath = '_generated'
30-
3130var conf = { level : options . debug ? logger . DEBUG :logger . INFO } ;
3231var log = logger ( conf ) ;
3332
@@ -59,6 +58,7 @@ function normalizeProject(project) {
5958 _project . suites . forEach ( suite => {
6059 projectProcessor . normalizeTestsInSuite ( { suite, tests : _project . tests } )
6160 } )
61+ _project . url = options . baseUrl ? options . baseUrl : project . url
6262 return _project
6363}
6464
@@ -71,7 +71,7 @@ for(const sideFileName of sideFiles)
7171 {
7272 const test = project . tests . find ( test => test . name === aTestCase ) ;
7373 var results = await codeExport . default . emit . test ( {
74- baseUrl : project . url ,
74+ baseUrl : options . baseUrl ? options . baseUrl : project . url ,
7575 test : test ,
7676 tests : project . tests ,
7777 project : project
Original file line number Diff line number Diff line change 44 "type" : " git" ,
55 "url" : " git+https://github.com/mattonem/browserstack-side-runner.git"
66 },
7- "version" : " 2.0.0-beta.10 " ,
7+ "version" : " 2.0.0-beta.11 " ,
88 "main" : " index.mjs" ,
99 "homepage" : " https://github.com/mattonem/browserstack-side-runner#readme" ,
1010 "scripts" : {
You can’t perform that action at this time.
0 commit comments