Skip to content

Commit

Permalink
Bump to 0.20.1
Browse files Browse the repository at this point in the history
Change test format
  • Loading branch information
ssharif6 committed Jun 25, 2018
1 parent 561ef05 commit df19efc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "compassql",
"version": "0.20.0",
"version": "0.20.1",
"description": "CompassQL visualization query language",
"main": "build/src/cql.js",
"typings": "./build/src/cql",
Expand Down
3 changes: 2 additions & 1 deletion test/query/encoding.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {assert} from 'chai';

import {scaleType, toFieldDef, toValueDef} from '../../src/query/encoding';
import {SHORT_WILDCARD} from '../../src/wildcard';
import {TextFieldDef} from 'vega-lite/build/src/fielddef';

describe('query/encoding', () => {
describe('toFieldDef', () => {
Expand All @@ -26,7 +27,7 @@ describe('query/encoding', () => {
});

it('return correct fieldDef for Text FieldQuery with format', () => {
assert.deepEqual(
assert.deepEqual<TextFieldDef<string>>(
toFieldDef(
{format: '.3f', channel: 'text', field: 'Q', type: 'quantitative'},
{props: ['field', 'format', 'type'], wildcardMode: 'skip'}
Expand Down

0 comments on commit df19efc

Please sign in to comment.