File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/addons/_tests/storybook Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,18 @@ import process from 'node:process';
2
2
import { expect } from '@playwright/test' ;
3
3
import { setupTest } from '../_setup/suite.ts' ;
4
4
import storybook from '../../storybook/index.ts' ;
5
+ import eslint from '../../eslint/index.ts' ;
5
6
6
- const { test, variants, prepareServer } = setupTest ( { storybook } ) ;
7
+ // we're including the `eslint` add-on to prevent `storybook` from modifying this repo's `eslint.config.js`
8
+ const { test, variants, prepareServer } = setupTest ( { storybook, eslint } ) ;
7
9
8
10
let port = 6006 ;
9
11
10
12
test . for ( variants ) (
11
13
'storybook loaded - %s' ,
12
14
{ concurrent : ! process . env . CI } ,
13
15
async ( variant , { page, ...ctx } ) => {
14
- const cwd = await ctx . run ( variant , { storybook : { } } ) ;
16
+ const cwd = await ctx . run ( variant , { storybook : { } , eslint : { } } ) ;
15
17
16
18
const { close } = await prepareServer ( {
17
19
cwd,
You can’t perform that action at this time.
0 commit comments