| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bf7f63d commit 095df35
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,6 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 3 | 4 | const assert = require('assert'); | |
| 4 | 5 | const child = require('child_process'); | |
| 5 | 6 | const path = require('path'); | |
@@ -28,7 +29,7 @@ function test(file, expected) { | |||
| 28 | 29 | ||
| 29 | 30 | { | |
| 30 | 31 | // test-init-index is in fixtures dir as requested by ry, so go there | |
| 31 | - process.chdir(common.fixturesDir); | ||
| 32 | + process.chdir(fixtures.path()); | ||
| 32 | 33 | test('test-init-index', 'Loaded successfully!'); | |
| 33 | 34 | } | |
| 34 | 35 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments