Skip to content

Commit a013274

Browse files
committed
Remove old test for empty string
1 parent f279465 commit a013274

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

test/jasmine/tests/config_test.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -535,16 +535,6 @@ describe('config argument', function() {
535535

536536
afterEach(destroyGraphDiv);
537537

538-
it('should default to an empty string', function(done) {
539-
Plotly.newPlot(gd, [], {})
540-
.then(function() {
541-
expect(gd._context.plotlyServerURL).not.toBe('https://plot.ly');
542-
expect(gd._context.plotlyServerURL).not.toBe('https://chart-studio.plotly.com');
543-
expect(gd._context.plotlyServerURL).toBe('');
544-
})
545-
.then(done, done.fail);
546-
});
547-
548538
it('should open confirmation dialog when set to a correctly-formatted URL', function(done) {
549539
Plotly.newPlot(gd, [], {}, {
550540
plotlyServerURL: 'https://example.plotly.com/endpoint'

0 commit comments

Comments
 (0)