renovate/lib/manager/cake/index.spec.ts
Sergei Zharinov b255275632
refactor(test): Load fixtures with helpers (#9699)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-04-23 16:58:48 +00:00

10 lines
288 B
TypeScript

import { getName, loadFixture } from '../../../test/util';
import { extractPackageFile } from '.';
const content = loadFixture(__filename, 'build.cake');
describe(getName(__filename), () => {
it('extracts', () => {
expect(extractPackageFile(content)).toMatchSnapshot();
});
});