| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9592a48 commit 145d1db
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,15 +1,15 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 3 | 4 | if (!common.hasCrypto) | |
| 4 | 5 | common.skip('missing crypto'); | |
| 5 | 6 | ||
| 6 | 7 | const assert = require('assert'); | |
| 7 | 8 | const https = require('https'); | |
| 8 | - const fs = require('fs'); | ||
| 9 | 9 | ||
| 10 | 10 | const options = { | |
| 11 | - key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
| 12 | - cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) | ||
| 11 | + key: fixtures.readKey('agent1-key.pem'), | ||
| 12 | + cert: fixtures.readKey('agent1-cert.pem') | ||
| 13 | 13 | }; | |
| 14 | 14 | ||
| 15 | 15 | const TOTAL = 4; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments