renovate/lib/manager/ruby-version/update.spec.ts
2020-02-05 01:14:31 +01:00

13 lines
328 B
TypeScript

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