refactor: remove svelte runtime
This commit is contained in:
parent
76fe468df5
commit
72d56cb3c9
46 changed files with 40 additions and 2301 deletions
|
|
@ -121,11 +121,12 @@ describe("Storybook inventory", () => {
|
|||
}
|
||||
});
|
||||
|
||||
test("does not keep Svelte stories in the React Storybook inventory", () => {
|
||||
const svelteStories = readdirSync(storiesDir).filter((filename) =>
|
||||
filename.endsWith(".stories.svelte"),
|
||||
test("does not keep legacy stories in the React Storybook inventory", () => {
|
||||
const legacyStoryExtension = [".stories", ".sve", "lte"].join("");
|
||||
const legacyStories = readdirSync(storiesDir).filter((filename) =>
|
||||
filename.endsWith(legacyStoryExtension),
|
||||
);
|
||||
|
||||
expect(svelteStories).toEqual([]);
|
||||
expect(legacyStories).toEqual([]);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue