| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d3272c4 commit 7d8a808
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,9 +4,9 @@ | |||
| 4 | 4 | const common = require('../common'); | |
| 5 | 5 | if (!common.hasCrypto) | |
| 6 | 6 | common.skip('missing crypto'); | |
| 7 | + const fixtures = require('../common/fixtures'); | ||
| 7 | 8 | const http2 = require('http2'); | |
| 8 | 9 | const assert = require('assert'); | |
| 9 | - const path = require('path'); | ||
| 10 | 10 | const fs = require('fs'); | |
| 11 | 11 | ||
| 12 | 12 | const { | |
@@ -15,7 +15,7 @@ const { | |||
| 15 | 15 | HTTP2_HEADER_LAST_MODIFIED | |
| 16 | 16 | } = http2.constants; | |
| 17 | 17 | ||
| 18 | - const fname = path.resolve(common.fixturesDir, 'elipses.txt'); | ||
| 18 | + const fname = fixtures.path('elipses.txt'); | ||
| 19 | 19 | const data = fs.readFileSync(fname); | |
| 20 | 20 | const stat = fs.statSync(fname); | |
| 21 | 21 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments