|
1 | 1 | // Tests of the scale service
|
2 | 2 | describe('Test the layout service', function() {
|
3 | 3 | // Disable tests which need to be rewritten based on changes introduced by
|
4 |
| - // the following changes: https://github.com/chartjs/Chart.js/pull/2346 |
5 |
| - // using xit marks the test as pending: http://jasmine.github.io/2.0/introduction.html#section-Pending_Specs |
| 4 | + // the following changes: https://github.com/chartjs/Chart.js/pull/2346 |
| 5 | + // using xit marks the test as pending: http://jasmine.github.io/2.0/introduction.html#section-Pending_Specs |
6 | 6 | xit('should fit a simple chart with 2 scales', function() {
|
7 | 7 | var chart = window.acquireChart({
|
8 | 8 | type: 'bar',
|
@@ -249,7 +249,9 @@ describe('Test the layout service', function() {
|
249 | 249 | type: 'bar',
|
250 | 250 | data: {
|
251 | 251 | datasets: [
|
252 |
| - { data: [10, 5, 0, 25, 78, -10] } |
| 252 | + { |
| 253 | + data: [10, 5, 0, 25, 78, -10] |
| 254 | + } |
253 | 255 | ],
|
254 | 256 | labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
255 | 257 | },
|
@@ -294,7 +296,9 @@ describe('Test the layout service', function() {
|
294 | 296 | type: 'bar',
|
295 | 297 | data: {
|
296 | 298 | datasets: [
|
297 |
| - { data: [10, 5, 0, 25, 78, -10] } |
| 299 | + { |
| 300 | + data: [10, 5, 0, 25, 78, -10] |
| 301 | + } |
298 | 302 | ],
|
299 | 303 | labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
300 | 304 | },
|
@@ -344,7 +348,9 @@ describe('Test the layout service', function() {
|
344 | 348 | type: 'bar',
|
345 | 349 | data: {
|
346 | 350 | datasets: [
|
347 |
| - { data: [10, 5, 0, 25, 78, -10] } |
| 351 | + { |
| 352 | + data: [10, 5, 0, 25, 78, -10] |
| 353 | + } |
348 | 354 | ],
|
349 | 355 | labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
350 | 356 | },
|
|
0 commit comments