kuebiko/tests/units/cond.js
2025-04-18 05:59:15 -05:00

11 lines
270 B
JavaScript

import { it, assertEq } from 'folktest'
import { anyChar, parse } from '../../src/index.js'
import { skip } from '../../src/cond.js'
import { parseEq } from './common.js'
export const Conditionals = [
it('skip', () => {
parseEq(skip(anyChar), 'test', [])
})
]