renovate/lib/manager/ruby-version/update.spec.ts

13 lines
345 B
TypeScript

import { updateDependency } from './update';
describe('manager/nvm/update', () => {
describe('updateDependency', () => {
it('updates values', () => {
const upgrade = {
newValue: '8.9.1',
};
const res = updateDependency({ fileContent: '8.9.0\n', upgrade });
expect(res).toMatchSnapshot();
});
});
});