| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 49402b1 commit 928aecc
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,7 +57,5 @@ function handleExit(error, stdout, stderr) { | |||
| 57 | 57 | ||
| 58 | 58 | assert.strictEqual(code, 0, `npm install got error code ${code}`); | |
| 59 | 59 | assert.strictEqual(signalCode, null, `unexpected signal: ${signalCode}`); | |
| 60 | - assert.doesNotThrow(function() { | ||
| 61 | - fs.accessSync(`${installDir}/node_modules/package-name`); | ||
| 62 | - }); | ||
| 60 | + assert(fs.existsSync(`${installDir}/node_modules/package-name`)); | ||
| 63 | 61 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments