mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Fix eslint errors in layout service test
This commit is contained in:
parent
596ff3718c
commit
a0ce74643f
@ -152,7 +152,8 @@ function lintTask() {
|
|||||||
'it',
|
'it',
|
||||||
'jasmine',
|
'jasmine',
|
||||||
'moment',
|
'moment',
|
||||||
'spyOn'
|
'spyOn',
|
||||||
|
'xit'
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
// Tests of the scale service
|
// Tests of the scale service
|
||||||
describe('Test the layout service', function() {
|
describe('Test the layout service', function() {
|
||||||
// Disable tests which need to be rewritten based on changes introduced by
|
// Disable tests which need to be rewritten based on changes introduced by
|
||||||
// the following changes: https://github.com/chartjs/Chart.js/pull/2346
|
// the following changes: https://github.com/chartjs/Chart.js/pull/2346
|
||||||
// using xit marks the test as pending: http://jasmine.github.io/2.0/introduction.html#section-Pending_Specs
|
// using xit marks the test as pending: http://jasmine.github.io/2.0/introduction.html#section-Pending_Specs
|
||||||
xit('should fit a simple chart with 2 scales', function() {
|
xit('should fit a simple chart with 2 scales', function() {
|
||||||
var chart = window.acquireChart({
|
var chart = window.acquireChart({
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
@ -249,7 +249,9 @@ describe('Test the layout service', function() {
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: {
|
data: {
|
||||||
datasets: [
|
datasets: [
|
||||||
{ data: [10, 5, 0, 25, 78, -10] }
|
{
|
||||||
|
data: [10, 5, 0, 25, 78, -10]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
||||||
},
|
},
|
||||||
@ -294,7 +296,9 @@ describe('Test the layout service', function() {
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: {
|
data: {
|
||||||
datasets: [
|
datasets: [
|
||||||
{ data: [10, 5, 0, 25, 78, -10] }
|
{
|
||||||
|
data: [10, 5, 0, 25, 78, -10]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
||||||
},
|
},
|
||||||
@ -344,7 +348,9 @@ describe('Test the layout service', function() {
|
|||||||
type: 'bar',
|
type: 'bar',
|
||||||
data: {
|
data: {
|
||||||
datasets: [
|
datasets: [
|
||||||
{ data: [10, 5, 0, 25, 78, -10] }
|
{
|
||||||
|
data: [10, 5, 0, 25, 78, -10]
|
||||||
|
}
|
||||||
],
|
],
|
||||||
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5', 'tick6']
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user