Skip to content

Commit 6c00368

Browse files
authored
Remove previous changes (#831)
Removed exclusion of specific sample folders from tests, that approach didn't work. We are rethinking this for now.
1 parent 4995937 commit 6c00368

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

e2e/samples.spec.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ import childProcess, { execSync } from 'child_process';
2121

2222
const samplesDir = path.join(__dirname, '..', 'samples');
2323

24-
// Add sample folders to this list to exclude them from the test run.
25-
const excludedFolders = [
26-
'map-drawing-terradraw',
27-
];
28-
2924
// Function to return all sample folders.
3025
const getAllSampleFolders = () => {
3126
return fs.readdirSync(samplesDir).filter((file) => {
@@ -101,9 +96,7 @@ const getChangedSampleFolders = (): string[] => {
10196
};
10297

10398
// Get changed folders, filtering out excluded ones.
104-
const foldersToTest = getChangedSampleFolders().filter(
105-
(folder) => !excludedFolders.includes(folder)
106-
);
99+
const foldersToTest = getChangedSampleFolders();
107100

108101
if (foldersToTest.length === 0) {
109102
console.log("No sample folders found.");

0 commit comments

Comments
 (0)