Skip to content

Commit a6fda02

Browse files
committed
improve validate test cases
1 parent b5ec01e commit a6fda02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/validate_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('Plotly.validate', function() {
4444

4545
it('should report when a data trace is not an object', function() {
4646
var out = Plotly.validate([{
47-
type: 'scatter',
47+
type: 'bar',
4848
x: [1, 2, 3]
4949
}, [1, 2, 3]]);
5050

@@ -67,7 +67,7 @@ describe('Plotly.validate', function() {
6767

6868
it('should report when trace is defaulted to not be visible', function() {
6969
var out = Plotly.validate([{
70-
type: 'scatter'
70+
type: 'scattergeo'
7171
// missing 'x' and 'y
7272
}], {});
7373

0 commit comments

Comments
 (0)