| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,17 +21,17 @@ | |||
| 21 | 21 | ||
| 22 | 22 | 'use strict'; | |
| 23 | 23 | const common = require('../common'); | |
| 24 | + const fixtures = require('../common/fixtures'); | ||
| 24 | 25 | ||
| 25 | 26 | if (!common.hasCrypto) | |
| 26 | 27 | common.skip('missing crypto'); | |
| 27 | 28 | ||
| 28 | 29 | const assert = require('assert'); | |
| 29 | 30 | const https = require('https'); | |
| 30 | - const fs = require('fs'); | ||
| 31 | 31 | ||
| 32 | 32 | const options = { | |
| 33 | - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
| 34 | - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) | ||
| 33 | + key: fixtures.readKey('agent1-key.pem'), | ||
| 34 | + cert: fixtures.readKey('agent1-cert.pem') | ||
| 35 | 35 | }; | |
| 36 | 36 | ||
| 37 | 37 | const tests = 2; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments