Skip to content

Commit

Permalink
[Tests] export resolved espree path
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki authored and ljharb committed Jan 26, 2022
1 parent 0ded887 commit a929394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/utils.js
Expand Up @@ -6,6 +6,7 @@ import semver from 'semver';
import 'babel-eslint';

export const parsers = {
ESPREE: require.resolve('espree'),
TS_OLD: semver.satisfies(eslintPkg.version, '>=4.0.0 <6.0.0') && require.resolve('typescript-eslint-parser'),
TS_NEW: semver.satisfies(eslintPkg.version, '>5.0.0') && require.resolve('@typescript-eslint/parser'),
BABEL_OLD: require.resolve('babel-eslint'),
Expand Down

0 comments on commit a929394

Please sign in to comment.