aboutsummaryrefslogtreecommitdiff
path: root/tests/parse-expr.spec.ts
blob: 00097a4d0a37ebb68a5826f5e0813ce6722db975 (plain) (blame)
1
2
3
4
5
6
7
8
9
import { parse } from '../src/parse-expr'
import * as P from '../src/utils/parser-comb'

describe('parser', () => {
  it('should die', () => {
    const res = parse('hello(test)')
    expect(res).toEqual(['hello', '(test, 1)'])
  })
})