You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Lifecycle hook which runs once, before any loaders, decorators or stories, and may rerun when configuration changes or when reinitializing (e.g. between test runs).
398
+
* The function may be synchronous or asynchronous, and may return a cleanup function which may also be synchronous or asynchronous.
399
+
* The cleanup function is not guaranteed to run (e.g. when the browser closes), but runs when configuration changes or when reinitializing.
400
+
* This hook may only be defined globally (i.e. not on component or story level).
401
+
* When multiple hooks are specified, they are to be executed sequentially (and awaited) in the following order:
402
+
* - Addon hooks (in order of addons array in e.g. .storybook/main.js)
403
+
* - Annotation hooks (in order of previewAnnotations array in e.g. .storybook/main.js)
404
+
* - Preview hook (via e.g. .storybook/preview.js)
405
+
* Cleanup functions are executed sequentially in reverse order of initialization.
406
+
*/
407
+
beforeAll?: BeforeAll;
408
+
393
409
/**
394
410
* @deprecated Project `globals` renamed to `initiaGlobals`
0 commit comments