Skip to content

Commit df19efc

Browse files
committed
Bump to 0.20.1
Change test format
1 parent 561ef05 commit df19efc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "compassql",
3-
"version": "0.20.0",
3+
"version": "0.20.1",
44
"description": "CompassQL visualization query language",
55
"main": "build/src/cql.js",
66
"typings": "./build/src/cql",

test/query/encoding.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {assert} from 'chai';
55

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

910
describe('query/encoding', () => {
1011
describe('toFieldDef', () => {
@@ -26,7 +27,7 @@ describe('query/encoding', () => {
2627
});
2728

2829
it('return correct fieldDef for Text FieldQuery with format', () => {
29-
assert.deepEqual(
30+
assert.deepEqual<TextFieldDef<string>>(
3031
toFieldDef(
3132
{format: '.3f', channel: 'text', field: 'Q', type: 'quantitative'},
3233
{props: ['field', 'format', 'type'], wildcardMode: 'skip'}

0 commit comments

Comments
 (0)