Commit 0884c496 authored by Evgeny's avatar Evgeny

Fix useless test

parent be0bac1e
...@@ -2,16 +2,6 @@ describe('c3 api load', function () { ...@@ -2,16 +2,6 @@ describe('c3 api load', function () {
'use strict'; 'use strict';
var chart, args; var chart, args;
beforeEach(function (done) {
chart = window.initChart(chart, args, done);
});
describe('indexed data', function () {
describe('as column', function () {
it('should update args', function () {
args = { args = {
data: { data: {
columns: [ columns: [
...@@ -20,9 +10,16 @@ describe('c3 api load', function () { ...@@ -20,9 +10,16 @@ describe('c3 api load', function () {
] ]
} }
}; };
expect(true).toBeTruthy();
beforeEach(function (done) {
chart = window.initChart(chart, args, done);
}); });
describe('indexed data', function () {
describe('as column', function () {
it('should load additional data', function (done) { it('should load additional data', function (done) {
var main = chart.internal.main, var main = chart.internal.main,
legend = chart.internal.legend; legend = chart.internal.legend;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment