Skip to content

Commit

Permalink
tests ~ refactor var naming for clarity/consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Aug 9, 2022
1 parent 5367c1c commit c6c0497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ if (!process.env.npm_config_test_dist) {
// t.timeout(30000); // 30s timeout

const egDirPath = 'eg';
const extension_regexps = [/.*[.]deno[.]ts$/i];
const extensionRxs = [/.*[.]deno[.]ts$/i];

// eslint-disable-next-line security/detect-non-literal-fs-filename
const files = fs.readdirSync(egDirPath);

files
.filter((file) => {
return extension_regexps.find((re) => path.basename(file).match(re));
return extensionRxs.find((re) => path.basename(file).match(re));
})
.forEach((file) => {
const command = 'deno';
Expand Down

0 comments on commit c6c0497

Please sign in to comment.