File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,10 @@ describe('trust-signed-certificates', function() {
9494describe ( 'trust-custom-ca-signed-certificates' , function ( ) {
9595
9696 var driver ;
97-
97+ var log = console . log
98+ beforeEach ( function ( ) {
99+ console . log = function ( ) { } ; // To mute deprecation message in test output
100+ } )
98101 it ( 'should reject unknown certificates' , function ( done ) {
99102 // Assuming we only run this test on NodeJS
100103 if ( ! NodeChannel . available ) {
@@ -138,14 +141,15 @@ describe('trust-custom-ca-signed-certificates', function() {
138141 if ( driver ) {
139142 driver . close ( ) ;
140143 }
144+ console . log = log ;
141145 } ) ;
142146} ) ;
143147
144148describe ( 'trust-system-ca-signed-certificates' , function ( ) {
145149
146150 var driver ;
147151
148- fit ( 'should reject unknown certificates' , function ( done ) {
152+ it ( 'should reject unknown certificates' , function ( done ) {
149153 // Assuming we only run this test on NodeJS
150154 if ( ! NodeChannel . available ) {
151155 done ( ) ;
@@ -327,7 +331,7 @@ describe('trust-on-first-use', function() {
327331 done ( ) ;
328332 } , 1000 ) ;
329333 } ) ;
330-
334+
331335 it ( 'should should give helpful error if database cert does not match stored certificate' , function ( done ) {
332336 // Assuming we only run this test on NodeJS with TOFU support
333337 if ( ! hasFeature ( "trust_on_first_use" ) ) {
You can’t perform that action at this time.
0 commit comments