Skip to content

Commit

Permalink
Revert change to testDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed May 11, 2023
1 parent d497b3a commit 2b1ca2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/testDependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ if (module.parent) {
const packagePaths = fs
.readdirSync(packagesRoot)
.map(filepath => path.join(packagesRoot, filepath))
.filter(filepath => fs.statSync(filepath).isDirectory())
// Filter out __mocks__
.filter(filepath => fs.existsSync(path.join(filepath, 'package.json')));
.filter(filepath => fs.statSync(filepath).isDirectory());

const errors = testDependencies(topLevelPackagePath, packagePaths);
if (errors.length !== 0) {
Expand Down

0 comments on commit 2b1ca2d

Please sign in to comment.