blob: 26a2edbc2150700a393dae79e920cd272ee76ada (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import {right} from 'fp-ts/Either'
import { many0, digit, integer, whitespace } from '../src'
describe('Foobar', () => {
it ('should do shit', () => {
expect(integer('12901')).toEqual(right([12901, '']))
expect(integer('12901asas')).toEqual(right([12901, 'asas']))
})
})
|