mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 04:56:00 +00:00
fixed filter parser test (upgraded jestm, ts-jest)
This commit is contained in:
@@ -16,8 +16,8 @@
|
|||||||
"dbgate-types": "^5.0.0-alpha.1",
|
"dbgate-types": "^5.0.0-alpha.1",
|
||||||
"@types/jest": "^25.1.4",
|
"@types/jest": "^25.1.4",
|
||||||
"@types/node": "^13.7.0",
|
"@types/node": "^13.7.0",
|
||||||
"jest": "^24.9.0",
|
"jest": "^28.1.3",
|
||||||
"ts-jest": "^25.2.1",
|
"ts-jest": "^28.0.7",
|
||||||
"typescript": "^4.4.3"
|
"typescript": "^4.4.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { parseFilter } from './parseFilter';
|
const { parseFilter } = require('./parseFilter');
|
||||||
|
|
||||||
test('parse string', () => {
|
test('parse string', () => {
|
||||||
const ast = parseFilter('"123"', 'string');
|
const ast = parseFilter('"123"', 'string');
|
||||||
|
|||||||
Reference in New Issue
Block a user