We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac522ee commit 2e00798Copy full SHA for 2e00798
test/jasmine/tests/plot_api_test.js
@@ -5,11 +5,18 @@ var Lib = require('@src/lib');
5
var Scatter = require('@src/traces/scatter');
6
var Bar = require('@src/traces/bar');
7
var Legend = require('@src/components/legend');
8
+var pkg = require('../../../package.json');
9
10
11
describe('Test plot api', function() {
12
'use strict';
13
14
+ describe('Plotly.version', function() {
15
+ it('should be the same as in the package.json', function() {
16
+ expect(Plotly.version).toEqual(pkg.version);
17
+ });
18
19
+
20
describe('Plotly.restyle', function() {
21
beforeEach(function() {
22
spyOn(Plotly, 'plot');
0 commit comments