| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 572492a commit e48c8b3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,8 +21,8 @@ | |||
| 21 | 21 | ||
| 22 | 22 | 'use strict'; | |
| 23 | 23 | const common = require('../common'); | |
| 24 | + const fixtures = require('../common/fixtures'); | ||
| 24 | 25 | const assert = require('assert'); | |
| 25 | - const { join } = require('path'); | ||
| 26 | 26 | const { execFile } = require('child_process'); | |
| 27 | 27 | ||
| 28 | 28 | // test for leaked global detection | |
@@ -72,10 +72,10 @@ fnAtLeast2Called3(); | |||
| 72 | 72 | ||
| 73 | 73 | const failFixtures = [ | |
| 74 | 74 | [ | |
| 75 | - join(common.fixturesDir, 'failmustcall1.js'), | ||
| 75 | + fixtures.path('failmustcall1.js'), | ||
| 76 | 76 | 'Mismatched <anonymous> function calls. Expected exactly 2, actual 1.' | |
| 77 | 77 | ], [ | |
| 78 | - join(common.fixturesDir, 'failmustcall2.js'), | ||
| 78 | + fixtures.path('failmustcall2.js'), | ||
| 79 | 79 | 'Mismatched <anonymous> function calls. Expected at least 2, actual 1.' | |
| 80 | 80 | ] | |
| 81 | 81 | ]; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments