Skip to content

Commit

Permalink
test(csv-parse): group stream tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Jan 31, 2023
1 parent 94d628b commit 8ce415a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { assert_error } from './api.assert_error.coffee'

describe 'API events', ->

it 'emit readable event', (next) ->
it 'emit `readable` event', (next) ->
records = []
parser = parse()
parser.on 'readable', ->
Expand All @@ -22,7 +22,7 @@ describe 'API events', ->
next()
parser.end()

it 'emit data event', (next) ->
it 'emit `data` event', (next) ->
records = []
parser = parse()
parser.on 'data', (record) ->
Expand Down Expand Up @@ -53,7 +53,7 @@ describe 'API events', ->
parser.write chr for chr in data
parser.end()

it 'emit error', (next) ->
it 'emit `error`', (next) ->
parser = parse()
parser.on 'readable', ->
while @read() then true
Expand All @@ -68,7 +68,7 @@ describe 'API events', ->
"""
parser.end()

it 'emit error with data as argument', (next) ->
it 'emit `error` with data as argument', (next) ->
parser = parse """
a,a,a
b,b
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 8ce415a

Please sign in to comment.