Skip to content

Commit bf82faa

Browse files
authored
test: include all packages when running visual tests with --ported (#9612)
1 parent 32cc91f commit bf82faa

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

wtr-utils.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,6 @@ const getAllVisualPackages = () => {
9898
.filter((dir) => fs.statSync(`packages/${dir}`).isDirectory() && fs.existsSync(`packages/${dir}/test/visual`));
9999
};
100100

101-
const getAllPortedLumoPackages = () => {
102-
return fs
103-
.readdirSync('packages')
104-
.filter(
105-
(dir) =>
106-
fs.statSync(`packages/${dir}`).isDirectory() &&
107-
fs.existsSync(`packages/vaadin-lumo-styles/components/${dir}.css`),
108-
);
109-
};
110-
111101
/**
112102
* Get all available packages with visual tests for base styles.
113103
*/
@@ -277,8 +267,6 @@ const createVisualTestsConfig = (theme, browserVersion) => {
277267
let visualPackages = [];
278268
if (theme === 'base') {
279269
visualPackages = getAllBasePackages();
280-
} else if (theme === 'lumo' && hasPortedParam) {
281-
visualPackages = getAllPortedLumoPackages();
282270
} else {
283271
visualPackages = getAllVisualPackages();
284272
}

0 commit comments

Comments
 (0)