Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78292

Issue with Object.entries in mongotmock assertEmpty

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc6, 6.0.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0, v6.0
    • Hide

      Change the usage of Object.entries in mongotmock's assertEmpty to instead be a for...in and search_batchsize.js fails.

      Show
      Change the usage of Object.entries in mongotmock's assertEmpty to instead be a for...in and search_batchsize.js fails.
    • QO 2023-06-26, QO 2023-07-10

      See SERVER-78357 for a detailed explanation of why. Replace the usage of Object.entries with for...in. Also fix the jstests that are mocking extra responses.

            Assignee:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Reporter:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: