Skip to content

Commit

Permalink
test(storybook): fix storybook setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sleidig committed Dec 17, 2024
1 parent f453c2d commit f4ffa7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { SessionType } from "../src/app/core/session/session-type";
// fixing a mocked "TODAY" to have persistent stories for visual regression testing
MockDate.set(new Date("2023-06-09"));
// polyfill buffer here as well
window.Buffer = buffer.Buffer;
window["Buffer"] = buffer.Buffer;
environment.production = false;
environment.session_type = SessionType.mock;
environment.demo_mode = false;
Expand All @@ -24,7 +24,7 @@ const preview: Preview = {
},
},

tags: ["autodocs"]
tags: ["autodocs"],
};

export default preview;

0 comments on commit f4ffa7c

Please sign in to comment.