Skip to content

Commit

Permalink
test(typescript-estree): upgrade @babel/parser to v7.7.7 (#1422)
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
  • Loading branch information
armano2 and bradzacher committed Jan 9, 2020
1 parent d3d70a3 commit 6c35de6
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 219 deletions.
2 changes: 1 addition & 1 deletion packages/typescript-estree/package.json
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@babel/code-frame": "7.5.5",
"@babel/parser": "7.7.5",
"@babel/parser": "7.7.7",
"@babel/types": "^7.7.4",
"@types/babel__code-frame": "^7.0.1",
"@types/debug": "^4.1.5",
Expand Down
25 changes: 23 additions & 2 deletions packages/typescript-estree/tests/ast-alignment/fixtures-to-test.ts
Expand Up @@ -189,7 +189,19 @@ tester.addFixturePatternConfig('javascript/function', {
],
});

tester.addFixturePatternConfig('javascript/bigIntLiterals');
tester.addFixturePatternConfig('javascript/bigIntLiterals', {
ignore: [
/**
* new BigIntLiteral type
* @see https://github.com/estree/estree/blob/master/es2020.md#bigintliteral
* @see https://github.com/typescript-eslint/typescript-eslint/pull/1389
*/
'binary',
'decimal',
'hex',
'octal',
],
});
tester.addFixturePatternConfig('javascript/binaryLiterals');
tester.addFixturePatternConfig('javascript/blockBindings');

Expand Down Expand Up @@ -220,7 +232,16 @@ tester.addFixturePatternConfig('javascript/destructuring-and-forOf');
tester.addFixturePatternConfig('javascript/destructuring-and-spread');

tester.addFixturePatternConfig('javascript/experimentalAsyncIteration');
tester.addFixturePatternConfig('javascript/experimentalDynamicImport');
tester.addFixturePatternConfig('javascript/experimentalDynamicImport', {
ignore: [
/**
* new ImportExpression type
* @see https://github.com/estree/estree/blob/master/es2020.md#importexpression
* @see https://github.com/typescript-eslint/typescript-eslint/pull/1389
*/
'dynamic-import',
],
});
tester.addFixturePatternConfig('javascript/exponentiationOperators');
tester.addFixturePatternConfig('javascript/experimentalOptionalCatchBinding');

Expand Down

0 comments on commit 6c35de6

Please sign in to comment.