mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 00:56:26 +00:00
15 lines
406 B
TypeScript
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();
|
|
});
|
|
});
|