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