Skip to content

Commit 91edec3

Browse files
committed
test: fix test config
1 parent 6057060 commit 91edec3

File tree

4 files changed

+1616
-2301
lines changed

4 files changed

+1616
-2301
lines changed

packages/ob-parser-js/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ module.exports = {
1717
'json',
1818
],
1919
moduleNameMapper: {
20-
'^assets/(.*)$': '<rootDir>/assets/libs.d.ts',
20+
'^assets/(.*)$': '<rootDir>/assets/$1',
2121
},
2222
};

packages/ob-parser-js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
},
2626
"devDependencies": {
2727
"@types/antlr4": "~4.7.2",
28-
"@types/jest": "^25.0.0",
28+
"@types/jest": "^30.0.0",
2929
"@types/lodash": "^4.14.166",
30-
"jest": "^25.0.0",
30+
"jest": "^30.0.0",
3131
"npm-run-all": "^4.1.5",
3232
"shx": "^0.4.0",
33-
"ts-jest": "^25.0.0",
33+
"ts-jest": "^29.0.0",
3434
"tsc-alias": "^1.8.16",
3535
"typescript": "^5.0.0",
3636
"vscode-languageserver-protocol": "^3.15.3",

packages/ob-parser-js/src/parser/mysql/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import simpleFormatter from '../format/simpleFormatter';
2+
23
//@ts-ignore
34
import { initParser } from './support';
4-
5+
//
56
import mysqlParser from 'assets/mysql';
67
import { IStatement, OBParser } from '../type';
78
import SQLSplit from '../split';

0 commit comments

Comments
 (0)