summaryrefslogtreecommitdiff
path: root/tests/basic.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/basic.spec.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basic.spec.ts b/tests/basic.spec.ts
index eeeb121..962f076 100644
--- a/tests/basic.spec.ts
+++ b/tests/basic.spec.ts
@@ -9,7 +9,9 @@ import {
whitespaces0,
delimited,
symbol,
+ optional,
} from '../src/parser'
+import { parser } from '../src'
describe('Foobar', () => {
it('should do shit', () => {
@@ -26,4 +28,8 @@ describe('Foobar', () => {
right([2, '0 '])
)
})
+
+ it('should maybeshut', () => {
+ console.log(JSON.stringify(parser('fuck'), null, 2))
+ })
})