File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,12 @@ jasmine.DEFAULT_TIMEOUT_INTERVAL =
88jasmine . getEnv ( ) . clearReporters ( ) ;
99jasmine . getEnv ( ) . addReporter (
1010 new SpecReporter ( {
11- colors : { enabled : supportsColor . stdout } ,
12- spec : { displayDuration : true } ,
11+ colors : {
12+ enabled : supportsColor . stdout ,
13+ } ,
14+ spec : {
15+ displayDuration : true ,
16+ } ,
1317 } )
1418) ;
1519
@@ -299,12 +303,15 @@ function createTestUser() {
299303function ok ( bool , message ) {
300304 expect ( bool ) . toBeTruthy ( message ) ;
301305}
306+
302307function equal ( a , b , message ) {
303308 expect ( a ) . toEqual ( b , message ) ;
304309}
310+
305311function strictEqual ( a , b , message ) {
306312 expect ( a ) . toBe ( b , message ) ;
307313}
314+
308315function notEqual ( a , b , message ) {
309316 expect ( a ) . not . toEqual ( b , message ) ;
310317}
@@ -387,6 +394,7 @@ function mockShortLivedAuth() {
387394 return auth ;
388395}
389396
397+ // delay
390398function delay ( millis ) {
391399 return new Promise ( r => setTimeout ( r , millis ) ) ;
392400}
You can’t perform that action at this time.
0 commit comments