File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
packages/type-utils/tests Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,12 @@ import type * as ts from 'typescript';
6
6
import { getTypeName } from '../src' ;
7
7
import { expectToHaveParserServices } from './test-utils/expectToHaveParserServices' ;
8
8
9
- // TODO(#9426): re-enable this
10
- // eslint-disable-next-line jest/no-disabled-tests
11
- describe . skip ( 'getTypeName' , ( ) => {
9
+ describe ( 'getTypeName' , ( ) => {
12
10
function getTypes ( code : string ) : { checker : ts . TypeChecker ; type : ts . Type } {
13
11
const rootDir = path . join ( __dirname , 'fixtures' ) ;
14
12
15
13
const { ast, services } = parseForESLint ( code , {
14
+ disallowAutomaticSingleRunInference : true ,
16
15
project : './tsconfig.json' ,
17
16
filePath : path . join ( rootDir , 'file.ts' ) ,
18
17
tsconfigRootDir : rootDir ,
Original file line number Diff line number Diff line change @@ -6,13 +6,12 @@ import * as ts from 'typescript';
6
6
import { getTypeFlags , isTypeFlagSet } from '../src' ;
7
7
import { expectToHaveParserServices } from './test-utils/expectToHaveParserServices' ;
8
8
9
- // TODO(#9426): re-enable this
10
- // eslint-disable-next-line jest/no-disabled-tests
11
- describe . skip ( 'typeFlagUtils' , ( ) => {
9
+ describe ( 'typeFlagUtils' , ( ) => {
12
10
const rootDir = path . join ( __dirname , 'fixtures' ) ;
13
11
14
12
function getType ( code : string ) : ts . Type {
15
13
const { ast, services } = parseForESLint ( code , {
14
+ disallowAutomaticSingleRunInference : true ,
16
15
project : './tsconfig.json' ,
17
16
filePath : path . join ( rootDir , 'file.ts' ) ,
18
17
tsconfigRootDir : rootDir ,
You can’t perform that action at this time.
0 commit comments