mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
13 lines
345 B
TypeScript
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();
|
|
});
|
|
});
|
|
});
|