testaro 37.1.0 → 37.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
© 2022–
|
|
2
|
+
© 2022–2024 CVS Health and/or one of its affiliates. All rights reserved.
|
|
3
3
|
|
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -32,15 +32,16 @@ const {validateTest} = require('../validateTest');
|
|
|
32
32
|
|
|
33
33
|
// OPERATION
|
|
34
34
|
|
|
35
|
-
// Get the names of the Testaro
|
|
36
|
-
fs.readdir(`${__dirname}
|
|
35
|
+
// Get the names of the Testaro tes files.
|
|
36
|
+
fs.readdir(`${__dirname}/../../testaro/`)
|
|
37
37
|
// When they arrive:
|
|
38
38
|
.then(async fileNames => {
|
|
39
39
|
// For each file name:
|
|
40
40
|
for (const fileName of fileNames) {
|
|
41
|
-
// Get the test ID from it by disregarding its
|
|
42
|
-
const testID = fileName.
|
|
41
|
+
// Get the test ID from it by disregarding its extension.
|
|
42
|
+
const testID = fileName.replace(/\..+$/, '');
|
|
43
43
|
// Validate the test.
|
|
44
|
+
console.log(`### Validating Testaro test ${testID}`);
|
|
44
45
|
await validateTest(testID);
|
|
45
46
|
}
|
|
46
47
|
});
|