Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Jan 25, 2018
1 parent 9769773 commit f3cde1a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions js/test/unit/table-tests.ts
Expand Up @@ -15,8 +15,7 @@
// specific language governing permissions and limitations
// under the License.

import Arrow, {
} from '../Arrow';
import Arrow from '../Arrow';

const {
col,
Expand All @@ -25,7 +24,7 @@ const {

describe(`Table`, () => {
test(`can create an empty table`, () => {
expect(Table.empty().length).toEqual(0)
expect(Table.empty().length).toEqual(0);
});

describe(`single record batch`, () => {
Expand Down Expand Up @@ -147,7 +146,7 @@ describe(`Table`, () => {
test(`scans expected values`, () => {
let expected_idx = 0;
table.scan((idx, batch) => {
const columns = batch.schema.fields.map((_, i) => batch.getChildAt(i));
const columns = batch.schema.fields.map((_, i) => batch.getChildAt(i)!);
expect(columns.map((c) => c.get(idx))).toEqual(values[expected_idx++]);
});
});
Expand Down Expand Up @@ -353,7 +352,7 @@ describe(`Table`, () => {
test(`scans expected values`, () => {
let expected_idx = 0;
table.scan((idx, batch) => {
const columns = batch.schema.fields.map((_, i) => batch.getChildAt(i));
const columns = batch.schema.fields.map((_, i) => batch.getChildAt(i)!);
expect(columns.map((c) => c.get(idx))).toEqual(values[expected_idx++]);
});
});
Expand Down

0 comments on commit f3cde1a

Please sign in to comment.