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
    • None
    • Developer Tools
    • Iteration Big Dipper, Iteration Neptune, Iteration O (Nov 4 -25)

      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:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: