| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1365a6f commit 39ae3f1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,7 @@ | |||
| 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 {join} = require('path'); | ||
| 6 | 5 | const {execFile} = require('child_process'); | |
| 7 | 6 | ||
| 8 | 7 | common.globalCheck = false; | |
@@ -37,10 +36,10 @@ fnAtLeast2Called3(); | |||
| 37 | 36 | ||
| 38 | 37 | const failFixtures = [ | |
| 39 | 38 | [ | |
| 40 | - join(common.fixturesDir, 'failmustcall1.js'), | ||
| 39 | + fixtures.path('failmustcall1.js'), | ||
| 41 | 40 | 'Mismatched <anonymous> function calls. Expected exactly 2, actual 1.' | |
| 42 | 41 | ], [ | |
| 43 | - join(common.fixturesDir, 'failmustcall2.js'), | ||
| 42 | + fixtures.path('failmustcall2.js'), | ||
| 44 | 43 | 'Mismatched <anonymous> function calls. Expected at least 2, actual 1.' | |
| 45 | 44 | ] | |
| 46 | 45 | ]; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments