File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -193,15 +193,20 @@ class TestExecutionService implements ITestExecutionService {
193
193
options : {
194
194
debugTransport : this . $options . debugTransport ,
195
195
debugBrk : this . $options . debugBrk ,
196
+ watch : ! ! this . $options . watch
196
197
}
197
198
} ,
198
199
} ;
200
+
199
201
if ( this . $config . DEBUG || this . $logger . getLevel ( ) === 'TRACE' ) {
200
202
karmaConfig . logLevel = 'DEBUG' ;
201
203
}
204
+
202
205
if ( ! this . $options . watch ) {
206
+ // Setting singleRun to true will automatically start the tests when new browser (device in our case) is registered in karma.
203
207
karmaConfig . singleRun = true ;
204
208
}
209
+
205
210
if ( this . $options . debugBrk ) {
206
211
karmaConfig . browserNoActivityTimeout = 1000000000 ;
207
212
}
Original file line number Diff line number Diff line change 1
1
2
2
# A PowerShell script to set up Windows machine for NativeScript development
3
- # NOTE: The scripts requires at least a version 4.0 .NET framework installed
3
+ # NOTE: The script requires at least a version 4.0 .NET framework installed
4
4
# To run it inside a COMMAND PROMPT against the production branch (only one supported with self-elevation) use
5
5
# @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/NativeScript/nativescript-cli/production/setup/native-script.ps1'))"
6
6
# To run it inside a WINDOWS POWERSHELL console against the production branch (only one supported with self-elevation) use
You can’t perform that action at this time.
0 commit comments