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 @@ -93,7 +93,10 @@ describe('trust-signed-certificates', function() {
9393describe ( 'trust-custom-ca-signed-certificates' , function ( ) {
9494
9595 var driver ;
96-
96+ var log = console . log
97+ beforeEach ( function ( ) {
98+ console . log = function ( ) { } ; // To mute deprecation message in test output
99+ } )
97100 it ( 'should reject unknown certificates' , function ( done ) {
98101 // Assuming we only run this test on NodeJS
99102 if ( ! NodeChannel . available ) {
@@ -137,14 +140,15 @@ describe('trust-custom-ca-signed-certificates', function() {
137140 if ( driver ) {
138141 driver . close ( ) ;
139142 }
143+ console . log = log ;
140144 } ) ;
141145} ) ;
142146
143147describe ( 'trust-system-ca-signed-certificates' , function ( ) {
144148
145149 var driver ;
146150
147- fit ( 'should reject unknown certificates' , function ( done ) {
151+ it ( 'should reject unknown certificates' , function ( done ) {
148152 // Assuming we only run this test on NodeJS
149153 if ( ! NodeChannel . available ) {
150154 done ( ) ;
@@ -326,7 +330,7 @@ describe('trust-on-first-use', function() {
326330 done ( ) ;
327331 } , 1000 ) ;
328332 } ) ;
329-
333+
330334 it ( 'should should give helpful error if database cert does not match stored certificate' , function ( done ) {
331335 // Assuming we only run this test on NodeJS with TOFU support
332336 if ( ! hasFeature ( "trust_on_first_use" ) ) {
You can’t perform that action at this time.
0 commit comments