[cli][fs-detectors][frameworks] Revert Storybook support (#9890)

This commit is contained in:
Chris Barber
2023-05-02 10:03:28 -05:00
committed by GitHub
parent ac2457494a
commit 678e13af53
75 changed files with 3 additions and 2674 deletions

View File

@@ -13,13 +13,7 @@ describe('examples should be detected', () => {
throw new Error(`Framework not detected for example "${exampleName}".`);
}
if (exampleName === 'storybook') {
// Storybook isn't really a "framework", in this case, it's really a
// Next.js app
expect(framework).toBe('nextjs');
} else {
expect(framework).toBe(exampleName);
}
expect(framework).toBe(exampleName);
}
);
});