describe("rotateRight()", function() {
  describe("rotates [1,2,3,4,5,6,7] to the right", function(){
    it("by 3 steps", function() {
      const arr = [1,2,3,4,5,6,7];
      const expected = [ 5, 6, 7, 1, 2, 3, 4 ];
      expect(rotateRight(arr,3)).toBe(expected);
    });
    it("by 2 steps", function() {
      const arr = [1,2,3,4,5,6,7];
      const expected = [6,7,1,2,3,4,5];
      expect(rotateRight(arr,2)).toBe(expected);
    });
    it("by 1 step", function() {
      const arr = [1,2,3,4,5,6,7];
      const expected = [7,1,2,3,4,5,6];
      expect(rotateRight(arr,1)).toBe(expected);
    });
  });
  describe("rotates [-1,-100,3,99] to the right", function() {
    it("by 2 steps", function() {
      const arr = [-1,-100,3,99];
      const expected = [3,99,-1,-100];
      expect(rotateRight(arr,2)).toBe(expected);
    });
    it("by 1 step1", function() {
      const arr = [-1,-100,3,99];
      const expected = [99,-1,-100,3];
      expect(rotateRight(arr,1)).toBe(expected);
    });
  });
});

@@ -243,26 +243,29 @@
 t(arr,3)).to
-Be
+Equal
 (expected);%0A
@@ -408,34 +408,37 @@
 Right(arr,2)).to
-Be
+Equal
 (expected);%0A    
@@ -576,34 +576,37 @@
 Right(arr,1)).to
-Be
+Equal
 (expected);%0A    
@@ -816,26 +816,29 @@
 t(arr,2)).to
-Be
+Equal
 (expected);%0A
@@ -991,10 +991,13 @@
 ).to
-Be
+Equal
 (exp

Change spec to less strict matcher toEqual