File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ e2e_integration_test(
70
70
# Old API
71
71
"2.99.x" ,
72
72
"3.9.x" ,
73
+ "3.10.x" ,
73
74
# New API
74
75
"4.0.x" ,
75
- "3.10.x" ,
76
76
]]
77
77
78
78
e2e_integration_test (
Original file line number Diff line number Diff line change @@ -146,9 +146,9 @@ async function main(args) {
146
146
147
147
// TODO(6.0): remove support for deprecated versions of Jasmine that use the old API &
148
148
// remember to update the `peerDependencies` as well.
149
- // Jasmine versions prior to 3.10 .0 should use the old API.
150
- if ( / ^ 3 \. [ 1 - 9 ] \. | ^ 2 \. / . test ( jrunner . coreVersion ( ) ) ) {
151
- console . warn ( `DEPRECATED: Support for Jasmine versions prior to '3.10 .x' is deprecated in '@bazel/jasmine'.` ) ;
149
+ // Jasmine versions prior to 4.0 .0 should use the old API.
150
+ if ( jrunner . coreVersion ( ) . charAt ( 0 ) !== '4' ) {
151
+ console . warn ( `DEPRECATED: Support for Jasmine versions prior to '4.0 .x' is deprecated in '@bazel/jasmine'.` ) ;
152
152
153
153
// Old Jasmine API.
154
154
let noSpecsFound = true ;
You can’t perform that action at this time.
0 commit comments