Skip to content

Commit 672806a

Browse files
authored
chore(web_common): set up vitest with playwright and add tests for Badge cmp (#5210)
1 parent 86140b2 commit 672806a

File tree

8 files changed

+661
-120
lines changed

8 files changed

+661
-120
lines changed

pnpm-lock.yaml

Lines changed: 226 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/common/eslint.config.mjs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import storybook from 'eslint-plugin-storybook'
33

44
import eslint from '@eslint/js'
55
import tseslint from 'typescript-eslint'
6+
import globals from 'globals'
67

78
export default tseslint.config(
89
eslint.configs.recommended,
@@ -16,5 +17,13 @@ export default tseslint.config(
1617
'no-empty': 'off',
1718
},
1819
},
20+
{
21+
files: ['vite.config.js', 'vitest.config.ts'],
22+
languageOptions: {
23+
globals: {
24+
...globals.node,
25+
},
26+
},
27+
},
1928
storybook.configs['flat/recommended'],
2029
)

0 commit comments

Comments
 (0)