auto-commit-msg icon indicating copy to clipboard operation
auto-commit-msg copied to clipboard

Add test for moved file

Open MichaelCurrin opened this issue 2 years ago • 0 comments

it('should handle a moved file', function () {
      const changes: FileChanges[] = [
        {
          x: ACTION.R,
          y: " ",
          from: "foo.txt",
          to: "bar/foo.txt"
        }
      ]
      const expected = {
        move: 1
      }

      assert.deepStrictEqual(
        count(changes), expected)
    })

MichaelCurrin avatar Feb 27 '22 12:02 MichaelCurrin