auto-commit-msg
auto-commit-msg copied to clipboard
Add test for moved file
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)
})