Skip to content

Commit

Permalink
feat: export parseLine helper
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 29, 2024
1 parent 8a804f5 commit 9a4de9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/ts/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export type * from './ingrid.js'
export { parse } from './ingrid.js'
export { parse, parseLine } from './ingrid.js'
3 changes: 2 additions & 1 deletion src/test/ts/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import * as assert from 'node:assert'
import { describe, it } from 'node:test'
import { parse } from '../../main/ts/index.ts'
import { parse, parseLine } from '../../main/ts/index.ts'

describe('index', () => {
it('has proper exports', () => {
assert.equal(typeof parse, 'function')
assert.equal(typeof parseLine, 'function')
})
})

0 comments on commit 9a4de9d

Please sign in to comment.