Skip to content

Commit 46688f5

Browse files
committed
fixed tests
1 parent 93a99df commit 46688f5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/bit-c3_test.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ import TypeVM from "bit-c3/data/type/";
99
import YGridVM from "bit-c3/y-grid/";
1010
import YGridLineVM from "bit-c3/y-grid/y-grid-line/";
1111
import {randomString} from "bit-c3/lib/";
12-
import DefineList from "can-define/list/list";
13-
import DefineMap from "can-define/map/map";
14-
import stache from "can-stache";
15-
import canViewModel from "can-view-model";
12+
import { DefineList, DefineMap, stache, viewModel as canViewModel } from "can";
1613

1714
F.attach(QUnit);
1815

@@ -27,7 +24,7 @@ var flattenCanList = function(list) {
2724
QUnit.module('bit-c3');
2825

2926
test('Should configure chart using a passed config', 1, (assert) => {
30-
let tpl = '<bit-c3 {config}="config"><bit-c3-data><bit-c3-data-column /></bit-c3-data></bit-c3>';
27+
let tpl = '<bit-c3 config:from="config"><bit-c3-data><bit-c3-data-column /></bit-c3-data></bit-c3>';
3128
let frag = stache(tpl)({
3229
config: {
3330
axis: {

0 commit comments

Comments
 (0)