[NPMCLI-113] testsuite fails with error Created: 10/Mar/17 Updated: 16/Mar/17 Resolved: 10/Mar/17 |
|
| Status: | Closed |
| Project: | Magnolia CLI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Robert Kowalski | Assignee: | Robert Kowalski |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Sprint: | Basel 86 |
| Story Points: | 1 |
| Description |
|
On OSX: 1) tabCompletion "before each" hook for "blllaaa should report success": Error: ENOENT, no such file or directory '/Users/robert/magnolia/npm-cli/lib' at Binding.<anonymous> (node_modules/mock-fs/lib/binding.js:943:13) at maybeCallback (node_modules/mock-fs/lib/binding.js:43:17) at Binding.lstat (node_modules/mock-fs/lib/binding.js:940:10) at Object.fs.lstatSync (fs.js:982:18) at Object.realpathSync (fs.js:1647:19) at require (internal/module.js:20:19) at Context.beforeEach (test/tabCompletionTest.js:60:18) Its related to the loading order / require calls and the initialisation of the file system mocking. |