Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1741

Add test and refactor, if necessary, the require fix for non-repl mode

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Developer Tools
    • Iteration B (May 6-20)

      This PR: https://github.com/mongodb-js/mongosh/pull/1887/files added a quick fix for an issue where require was not available in non-repl mode. However, we didn't add a test because we were in a rush to release a fix, as it was a blocking situation for customers.

      We will need to add a test to ensure that require is available in non-repl mode, to avoid breaking it in the future.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: