test.each(fileTypes)('compare nested %s files --format plain', (type) => {
  const filesDiff = fs.readFileSync(`${testsDirPath}/result-plain`, 'utf8');
  expect(compareFiles(`${testsDirPath}/before${type}`, `${testsDirPath}/after${type}`, 'plain')).toBe(filesDiff);
});