test: remove barrier files to improve unit testing performance (#249)
* test: remove barrier files to improve unit testing performance * chore: change check-types command
This commit is contained in:
		@ -1,6 +1,7 @@
 | 
			
		||||
import fs from 'fs';
 | 
			
		||||
import path from 'path';
 | 
			
		||||
import { MySQL, CaretPosition, SyntaxContextType } from '../../../filters';
 | 
			
		||||
import MySQL from 'src/parser/mysql';
 | 
			
		||||
import { CaretPosition, SyntaxContextType } from 'src/parser/common/basic-parser-types';
 | 
			
		||||
 | 
			
		||||
const syntaxSql = fs.readFileSync(
 | 
			
		||||
    path.join(__dirname, 'fixtures', 'multipleStatement.sql'),
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,8 @@
 | 
			
		||||
import fs from 'fs';
 | 
			
		||||
import path from 'path';
 | 
			
		||||
import { MySQL, CaretPosition, SyntaxContextType } from '../../../filters';
 | 
			
		||||
import { commentOtherLine } from '../../../helper';
 | 
			
		||||
import MySQL from 'src/parser/mysql';
 | 
			
		||||
import { SyntaxContextType, CaretPosition } from 'src/parser/common/basic-parser-types';
 | 
			
		||||
import { commentOtherLine } from 'test/helper';
 | 
			
		||||
 | 
			
		||||
const syntaxSql = fs.readFileSync(
 | 
			
		||||
    path.join(__dirname, 'fixtures', 'syntaxSuggestion.sql'),
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,8 @@
 | 
			
		||||
import fs from 'fs';
 | 
			
		||||
import path from 'path';
 | 
			
		||||
import { MySQL, CaretPosition } from '../../../filters';
 | 
			
		||||
import { commentOtherLine } from '../../../helper';
 | 
			
		||||
import MySQL from 'src/parser/mysql';
 | 
			
		||||
import { CaretPosition } from 'src/parser/common/basic-parser-types';
 | 
			
		||||
import { commentOtherLine } from 'test/helper';
 | 
			
		||||
 | 
			
		||||
const tokenSql = fs.readFileSync(path.join(__dirname, 'fixtures', 'tokenSuggestion.sql'), 'utf-8');
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user