Update query_settings_raw_data.js to clean-up settings at the end of the test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      1. Refactor query_settings_raw_data.js to use mochalite

      Rewrites the query_settings_raw_data.js test to use the mochalite framework, improving test organization and readability. The test now uses a describe/it structure to clearly separate test cases for find, aggregate, and distinct commands with different rawData parameter values.

      The refactored test includes:

      • Tests verifying that commands with rawData=false correctly apply query settings
      • Tests confirming that commands with rawData=true fail validation when setting query settings
      • Placeholder tests (commented out with TODOs) for future work on query shape hash calculations

      This change maintains the same test coverage while making the test structure more maintainable and easier to understand.

            Assignee:
            Catalin Sumanaru
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: