Skip to content

Commit

Permalink
test(csv-parse): skip invalid spectrum location_coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Aug 26, 2024
1 parent 8157783 commit 603bd1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/csv-parse/test/spectrum.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ describe 'spectrum', ->
spectrum (err, tests) ->
each tests, (test) ->
return if test.name is 'simple' # See https://github.com/maxogden/csv-spectrum/commit/ec45e96a79661d7bd87f6becbb845b30f11accde
records = parse test.csv.toString(), columns: true
return if test.name is 'location_coordinates'# See https://github.com/max-mapper/csv-spectrum/issues/20
records = parse test.csv.toString(), columns: true, relax_quotes: true
records.should.eql JSON.parse test.json.toString()
.then (-> next()), next
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe 'handler.mode.callback', ->
)
chunks.join('').split('\n').length.should.eql 1000

it.only 'handler with callback with parallel 2', ->
it 'handler with callback with parallel 2', ->
count = 0
clear = setInterval ->
count++
Expand Down

0 comments on commit 603bd1c

Please sign in to comment.