Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-113

testsuite fails with error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.1.0
    • None
    • None
    • Basel 86
    • 1

      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.

        Acceptance criteria

              rkowalski Robert Kowalski
              rkowalski Robert Kowalski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD