Skip to content

Commit 0e96b0b

Browse files
authored
fix: Update samples.spec.ts (#554)
Cleans up log messages in primary test file.
1 parent 910a119 commit 0e96b0b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

e2e/samples.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ const getChangedSampleFolders = (): string[] => {
6969
}
7070

7171
if (!foundMarker || changedFolders.length === 0) {
72-
console.log("No changed sample folders identified from find-changes.sh output in the expected format. Skipping tests.");
73-
console.log("Full output from find-changes.sh for debugging:\n", output);
72+
console.log("No changed sample folders found. Skipping tests.");
7473
return [];
7574
}
7675

@@ -81,7 +80,7 @@ const getChangedSampleFolders = (): string[] => {
8180
});
8281

8382
if (validChangedFolders.length === 0) {
84-
console.warn("Folder names were extracted from find-changes.sh output, but none are valid sample directories. Skipping tests.");
83+
console.warn("Folders were found, but none were valid sample directories. Skipping tests.");
8584
console.log("Extracted folder names that were considered invalid:", changedFolders);
8685
console.log("Full output from find-changes.sh for debugging:\n", output);
8786
return []; // Fallback to do nothing
@@ -99,7 +98,7 @@ const getChangedSampleFolders = (): string[] => {
9998
const foldersToTest = getChangedSampleFolders();
10099

101100
if (foldersToTest.length === 0) {
102-
console.log("No sample folders identified to test. This might indicate no changes or an issue with find-changes.sh.");
101+
console.log("No sample folders found.");
103102
} else {
104103
console.log(`Will run tests for the following folders: ${foldersToTest.join(', ')}`);
105104
}

0 commit comments

Comments
 (0)