text: import { orders } from "/src/helpers/orders";
  
  import { sortIds } from "/src/exercises/group_one_exercise";
  // import { sortIds } from "/src/solutions/group_one_solution";
  
  describe("Group exercise 1", () => {
    it("Sorts orders by order ID, from lowest to highest", () => {
      expect(sortIds(orders)).toEqual([
        {
          id: 3439,
          date: "March 3, 2018",
          userEmail: "screen@gmail.com",
          totalQuantity: 10,
          order: [
            {
              sku: "LILP1029",
              quantity: 10
            }
          ]
        },
        {
          id: 3729,
          date: "March 3, 2018",
          userEmail: "cool@gmail.com",
          totalQuantity: 4,
          order: [
            {
              sku: "SEHO2038",
              quantity: 3
            },
            {
              sku: "TRPT149",
              quantity: 1
            }
          ]
        },
        {
          id: 4532,
          date: "March 3, 2018",
          userEmail: "blah@gmail.com",
          totalQuantity: 7,
          order: [
            {
              sku: "LILP1029",
              quantity: 3
            },
            {
              sku: "FORT2157",
              quantity: 1
            },
            {
              sku: "LEEL0980",
              quantity: 2
            },
            {
              sku: "ZSDH2121",
              quantity: 1
            }
          ]
        },
        {
          id: 4562,
          date: "March 28, 2018",
          userEmail: "tooh@gmail.com",
          totalQuantity: 2,
          order: [
            {
              sku: "FOUR4444",
              quantity: 1
            },
            {
              sku: "FIVE5555",
              quantity: 1
            }
          ]
        },
        {
          id: 4621,
          date: "March 28, 2018",
          userEmail: "threye@gmail.com",
          totalQuantity: 4,
          order: [
            {
              sku: "FOUR4444",
              quantity: 4
            }
          ]
        }
      ]);
    });
  });
  