We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.plz
1 parent dee7d4f commit 5397021Copy full SHA for 5397021
src/examples.test.ts
@@ -12,7 +12,10 @@ const pleasePath = path.join(
12
)
13
14
suite('examples', async () => {
15
- for (const exampleFileName of await fs.readdir(exampleDirectoryPath)) {
+ const exampleFileNames = (await fs.readdir(exampleDirectoryPath)).filter(
16
+ fileName => fileName.endsWith('.plz'),
17
+ )
18
+ for (const exampleFileName of exampleFileNames) {
19
const exampleFilePath = path.join(exampleDirectoryPath, exampleFileName)
20
// TODO: Use snapshot testing instead of merely checking for errors.
21
test(
0 commit comments