| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6f15b01 commit cbbe125
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,13 +1,13 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - const common = require('../common'); | ||
| 2 | + require('../common'); | ||
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 3 | 4 | const assert = require('assert'); | |
| 4 | - const path = require('path'); | ||
| 5 | 5 | const fs = require('fs'); | |
| 6 | - const fn = path.join(common.fixturesDir, 'non-existent'); | ||
| 7 | - const existingFile = path.join(common.fixturesDir, 'exit.js'); | ||
| 8 | - const existingFile2 = path.join(common.fixturesDir, 'create-file.js'); | ||
| 9 | - const existingDir = path.join(common.fixturesDir, 'empty'); | ||
| 10 | - const existingDir2 = path.join(common.fixturesDir, 'keys'); | ||
| 6 | + const fn = fixtures.path('non-existent'); | ||
| 7 | + const existingFile = fixtures.path('exit.js'); | ||
| 8 | + const existingFile2 = fixtures.path('create-file.js'); | ||
| 9 | + const existingDir = fixtures.path('empty'); | ||
| 10 | + const existingDir2 = fixtures.path('keys'); | ||
| 11 | 11 | ||
| 12 | 12 | // ASYNC_CALL | |
| 13 | 13 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments