
it('test sensibly bails if gets an old .snyk format', async () => {
  const vulns2 = loadJson(
    path.resolve(__dirname, '../../fixtures/test-jsbin-vulns-updated.json'),
  );
  try {
    const config = await policy.load(
      path.resolve(__dirname, '../../fixtures/old-snyk-config'),
    );
    const res = await config.filter(vulns2);