Skip to content

Commit

Permalink
v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Dec 28, 2017
1 parent 9e174ec commit 70dc778
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ rules:
- never
max-len:
- error
- 120
- code: 120
ignoreStrings: true
comma-style:
- off
- first
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tableschema",
"version": "1.5.0",
"version": "1.5.1",
"description": "A library for working with Table Schema in Javascript.",
"license": "MIT",
"main": "lib/index.js",
Expand Down
4 changes: 2 additions & 2 deletions test/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ describe('Table', () => {
assert.deepEqual(rows, [['1', '39', 'Paul'], ['2', '23', 'Jimmy']])
})

it('should use utf-8 by default for remote resource', async function() {
it('should use utf-8 by default for remote resource', async () => {
const table = await Table.load('https://raw.githubusercontent.com/frictionlessdata/tableschema-js/master/data/data_infer.csv')
const rows = await table.read({limit: 2})
assert.deepEqual(rows, [['1', '39', 'Paul'], ['2', '23', 'Jimmy']])
Expand All @@ -201,7 +201,7 @@ describe('Table', () => {
assert.deepEqual(rows, [['1', 'english'], ['2', '©']])
})

it.skip('should support user-defined encoding for remote resource', async function() {
it.skip('should support user-defined encoding for remote resource', async () => {
const table = await Table.load('https://raw.githubusercontent.com/frictionlessdata/tableschema-js/master/data/latin1.csv', {encoding: 'latin1'})
const rows = await table.read({limit: 2})
assert.deepEqual(rows, [['1', 'english'], ['2', '©']])
Expand Down

0 comments on commit 70dc778

Please sign in to comment.