File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2121
2222'use strict' ;
2323const common = require ( '../common' ) ;
24- const fixtures = require ( '../common/fixtures' ) ;
2524
2625if ( ! common . hasCrypto )
2726 common . skip ( 'missing crypto' ) ;
2827
2928const assert = require ( 'assert' ) ;
30- const fs = require ( 'fs ' ) ;
29+ const fixtures = require ( '../common/fixtures ' ) ;
3130const https = require ( 'https' ) ;
3231const http = require ( 'http' ) ;
3332const tls = require ( 'tls' ) ;
3433
3534const tests = [ ] ;
3635
3736const serverOptions = {
38- key : fs . readFileSync ( ` ${ fixtures . fixturesDir } /keys/ agent1-key.pem` ) ,
39- cert : fs . readFileSync ( ` ${ fixtures . fixturesDir } /keys/ agent1-cert.pem` )
37+ key : fixtures . readKey ( ' agent1-key.pem' ) ,
38+ cert : fixtures . readKey ( ' agent1-cert.pem' )
4039} ;
4140
4241function test ( fn ) {
You can’t perform that action at this time.
0 commit comments