File tree 5 files changed +41
-0
lines changed
5 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 45
45
"eslint-plugin-promise" : " ^4.0.1" ,
46
46
"eslint-plugin-standard" : " ^4.0.0" ,
47
47
"jasmine" : " ^3.3.1" ,
48
+ "jasmine-spec-reporter" : " ^4.2.1" ,
48
49
"nyc" : " ^14.1.1" ,
49
50
"rewire" : " ^4.0.1"
50
51
},
Original file line number Diff line number Diff line change 4
4
" unit/**/*[sS]pec.js" ,
5
5
" e2e/**/*[sS]pec.js"
6
6
],
7
+ "helpers" : [
8
+ " helper.js"
9
+ ],
7
10
"stopSpecOnExpectationFailure" : false ,
8
11
"random" : false
9
12
}
Original file line number Diff line number Diff line change 3
3
"spec_files" : [
4
4
" e2e/**/*[sS]pec.js"
5
5
],
6
+ "helpers" : [
7
+ " helper.js"
8
+ ],
6
9
"stopSpecOnExpectationFailure" : false ,
7
10
"random" : false
8
11
}
Original file line number Diff line number Diff line change
1
+ /**
2
+ Licensed to the Apache Software Foundation (ASF) under one
3
+ or more contributor license agreements. See the NOTICE file
4
+ distributed with this work for additional information
5
+ regarding copyright ownership. The ASF licenses this file
6
+ to you under the Apache License, Version 2.0 (the
7
+ "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing,
13
+ software distributed under the License is distributed on an
14
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ KIND, either express or implied. See the License for the
16
+ specific language governing permissions and limitations
17
+ under the License.
18
+ */
19
+ const SpecReporter = require ( 'jasmine-spec-reporter' ) . SpecReporter ;
20
+
21
+ jasmine . getEnv ( ) . clearReporters ( ) ;
22
+ jasmine . getEnv ( ) . addReporter ( new SpecReporter ( {
23
+ spec : {
24
+ displayPending : true ,
25
+ displayDuration : true
26
+ } ,
27
+ summary : {
28
+ displayDuration : true ,
29
+ displayStacktrace : true
30
+ }
31
+ } ) ) ;
Original file line number Diff line number Diff line change 3
3
"spec_files" : [
4
4
" unit/**/*[sS]pec.js"
5
5
],
6
+ "helpers" : [
7
+ " helper.js"
8
+ ],
6
9
"stopSpecOnExpectationFailure" : false ,
7
10
"random" : true
8
11
}
You can’t perform that action at this time.
0 commit comments