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() {
94
94
describe ( 'trust-custom-ca-signed-certificates' , function ( ) {
95
95
96
96
var driver ;
97
-
97
+ var log = console . log
98
+ beforeEach ( function ( ) {
99
+ console . log = function ( ) { } ; // To mute deprecation message in test output
100
+ } )
98
101
it ( 'should reject unknown certificates' , function ( done ) {
99
102
// Assuming we only run this test on NodeJS
100
103
if ( ! NodeChannel . available ) {
@@ -138,14 +141,15 @@ describe('trust-custom-ca-signed-certificates', function() {
138
141
if ( driver ) {
139
142
driver . close ( ) ;
140
143
}
144
+ console . log = log ;
141
145
} ) ;
142
146
} ) ;
143
147
144
148
describe ( 'trust-system-ca-signed-certificates' , function ( ) {
145
149
146
150
var driver ;
147
151
148
- fit ( 'should reject unknown certificates' , function ( done ) {
152
+ it ( 'should reject unknown certificates' , function ( done ) {
149
153
// Assuming we only run this test on NodeJS
150
154
if ( ! NodeChannel . available ) {
151
155
done ( ) ;
@@ -327,7 +331,7 @@ describe('trust-on-first-use', function() {
327
331
done ( ) ;
328
332
} , 1000 ) ;
329
333
} ) ;
330
-
334
+
331
335
it ( 'should should give helpful error if database cert does not match stored certificate' , function ( done ) {
332
336
// Assuming we only run this test on NodeJS with TOFU support
333
337
if ( ! hasFeature ( "trust_on_first_use" ) ) {
You can’t perform that action at this time.
0 commit comments