Skip to content

Commit

Permalink
Merge pull request #360 from lo1tuma/update-deps
Browse files Browse the repository at this point in the history
Update all dependencies
  • Loading branch information
lo1tuma authored Aug 22, 2024
2 parents 62914ff + d7e0152 commit fb69cb4
Show file tree
Hide file tree
Showing 3 changed files with 815 additions and 2,521 deletions.
4 changes: 2 additions & 2 deletions lib/util/ast.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { getTestCaseNames, getSuiteNames } = require('./names');
const { getAdditionalNames } = require('./settings');

const isDefined = complement(isNil);
const isCallExpression = both(isDefined, propEq('type', 'CallExpression'));
const isCallExpression = both(isDefined, propEq('CallExpression', 'type'));

const hooks = new Set([
'before',
Expand All @@ -19,7 +19,7 @@ const hooks = new Set([
]);
const suiteConfig = new Set(['timeout', 'slow', 'retries']);

const findReturnStatement = find(propEq('type', 'ReturnStatement'));
const findReturnStatement = find(propEq('ReturnStatement', 'type'));

function getPropertyName(property) {
return property.name || property.value;
Expand Down
Loading

0 comments on commit fb69cb4

Please sign in to comment.