File tree 2 files changed +37
-1
lines changed
packages/frontend/src/components/global
2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
- develop
8
- pull_request_target :
8
+ pull_request :
9
+ branches :
10
+ - " !l10n_develop"
9
11
10
12
jobs :
11
13
build :
Original file line number Diff line number Diff line change
1
+ /* eslint-disable @typescript-eslint/explicit-function-return-type */
2
+ import { expect } from '@storybook/jest' ;
3
+ import { waitFor } from '@storybook/testing-library' ;
4
+ import { StoryObj } from '@storybook/vue3' ;
5
+ import MkError from './MkError.vue' ;
6
+ export const Default = {
7
+ render ( args ) {
8
+ return {
9
+ components : {
10
+ MkError,
11
+ } ,
12
+ setup ( ) {
13
+ return {
14
+ args,
15
+ } ;
16
+ } ,
17
+ computed : {
18
+ props ( ) {
19
+ return {
20
+ ...this . args ,
21
+ } ;
22
+ } ,
23
+ } ,
24
+ template : '<MkError v-bind="props" />' ,
25
+ } ;
26
+ } ,
27
+ async play ( { canvasElement } ) {
28
+ await expect ( canvasElement . firstElementChild ) . not . toBeNull ( ) ;
29
+ await waitFor ( async ( ) => expect ( canvasElement . firstElementChild ?. classList ) . not . toContain ( '_transition_zoom-enter-active' ) ) ;
30
+ } ,
31
+ parameters : {
32
+ layout : 'centered' ,
33
+ } ,
34
+ } satisfies StoryObj < typeof MkError > ;
You can’t perform that action at this time.
0 commit comments