Catch jstest module related error in runtime

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Repl 2023-08-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When we have both module and load style jstests, we use shouldTryExecAsModule at compile time to decide whether we should run using modules. We should also do this at runtime.

            Assignee:
            Jiawei Yang
            Reporter:
            Jiawei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: