Skip to content

Commit eb6a2e8

Browse files
committed
fix lint
1 parent 44724a3 commit eb6a2e8

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

test/jasmine/tests/template_test.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -147,23 +147,23 @@ describe('makeTemplate', function() {
147147
var gd = createGraphDiv();
148148

149149
Plotly.newPlot(gd, mock)
150-
.then(function() {
151-
var template = Plotly.makeTemplate(gd);
152-
delete(template.layout.xaxis);
153-
delete(template.layout.yaxis);
154-
expect(template).toEqual({
155-
data: {scatter: [
156-
{fill: 'tonext', line: {shape: 'spline'}},
157-
{fill: 'tonext'},
158-
{fill: 'toself'}
159-
] },
160-
layout: {
161-
title: 'Fill toself and tonext',
162-
width: 400,
163-
height: 400
164-
}
165-
});
166-
})
150+
.then(function() {
151+
var template = Plotly.makeTemplate(gd);
152+
delete(template.layout.xaxis);
153+
delete(template.layout.yaxis);
154+
expect(template).toEqual({
155+
data: {scatter: [
156+
{fill: 'tonext', line: {shape: 'spline'}},
157+
{fill: 'tonext'},
158+
{fill: 'toself'}
159+
] },
160+
layout: {
161+
title: 'Fill toself and tonext',
162+
width: 400,
163+
height: 400
164+
}
165+
});
166+
})
167167
.catch(failTest)
168168
.then(destroyGraphDiv)
169169
.then(done);

0 commit comments

Comments
 (0)