renovate/lib/manager/deps-edn/extract.spec.ts
2020-02-05 01:14:31 +01:00

15 lines
406 B
TypeScript

/* eslint-disable no-template-curly-in-string */
import { readFileSync } from 'fs';
import { resolve } from 'path';
import { extractPackageFile } from './extract';
const depsEdn = readFileSync(
resolve(__dirname, `./__fixtures__/deps.edn`),
'utf8'
);
describe('manager/deps-edn/extract', () => {
it('extractPackageFile', () => {
expect(extractPackageFile(depsEdn)).toMatchSnapshot();
});
});