File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
showcases/patternhub/tests Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3131 "copy:readme" : " cpr README.md ../../build-outputs/stylelint/README.md -o" ,
3232 "test" : " vitest run --config vitest.config.ts"
3333 },
34- "peerDependencies" : {
35- "stylelint" : " ^14.0.0 || ^15.0.0 || ^16.0.0"
36- },
3734 "devDependencies" : {
3835 "postcss" : " 8.5.6" ,
3936 "postcss-html" : " 1.8.0" ,
4340 "typescript" : " 5.9.3" ,
4441 "vitest" : " 3.2.4"
4542 },
43+ "peerDependencies" : {
44+ "stylelint" : " ^14.0.0 || ^15.0.0 || ^16.0.0"
45+ },
4646 "publishConfig" : {
4747 "registry" : " https://registry.npmjs.org/" ,
4848 "access" : " public"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ for (const group of Components) {
2222 await getDefaultScreenshotTest (
2323 component . name ,
2424 `docs` ,
25- `./components /${ component . name } /docs/Angular` ,
25+ `.${ group . path } /${ component . name } /docs/Angular` ,
2626 async ( page ) => {
2727 const firstH2 = page . locator ( 'h2' ) . first ( ) ;
2828 await expect ( firstH2 ) . toBeVisible ( ) ;
@@ -33,7 +33,7 @@ for (const group of Components) {
3333 await getDefaultScreenshotTest (
3434 component . name ,
3535 `overview` ,
36- `./components /${ component . name } /overview?fullscreen=true` ,
36+ `.${ group . path } /${ component . name } /overview?fullscreen=true` ,
3737 async ( page ) => {
3838 const firstH2 = page . locator ( 'h1' ) . first ( ) ;
3939 await expect ( firstH2 ) . toBeVisible ( ) ;
@@ -44,7 +44,7 @@ for (const group of Components) {
4444 await getDefaultScreenshotTest (
4545 component . name ,
4646 `properties` ,
47- `./components /${ component . name } /properties?fullscreen=true&noh1=true` ,
47+ `.${ group . path } /${ component . name } /properties?fullscreen=true&noh1=true` ,
4848 async ( page ) => {
4949 const firstH2 = page . locator ( 'h2' ) . first ( ) ;
5050 await expect ( firstH2 ) . toBeVisible ( ) ;
You can’t perform that action at this time.
0 commit comments