Skip to content

fix: Remove mistakenly added import#7848

Merged
camdecoster merged 6 commits into
masterfrom
cam/7847/remove-karma-import
Jun 18, 2026
Merged

fix: Remove mistakenly added import#7848
camdecoster merged 6 commits into
masterfrom
cam/7847/remove-karma-import

Conversation

@camdecoster

Copy link
Copy Markdown
Contributor

Description

Remove mistakenly added import of server from karma.

Closes #7847.

Testing

Make sure CI is passing.

Notes

  • This line was likely added by autocomplete by mistake
  • It's breaking esbuild, so it needs to be removed

@archmoj

archmoj commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR @camdecoster
Would you also address this comment (#7802 (comment)) regarding the missing draft log for PR #7802 in this PR?

emilykl
emilykl previously approved these changes Jun 18, 2026
emilykl
emilykl previously approved these changes Jun 18, 2026
Comment on lines -562 to -565
it('can be set to other base urls', function(done) {
Plotly.newPlot(gd, [], {}, {plotlyServerURL: 'dummy'})
.then(function() {
expect(gd._context.plotlyServerURL).toBe('dummy');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is perfectly fine to keep

Comment on lines -567 to -569
Plotly.Plots.sendDataToCloud(gd);
expect(form.action).toContain('/dummy/external');
expect(form.method).toBe('post');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines should be updated to an equivalent check that works for the new upload function

});
afterEach(destroyGraphDiv);

it('has lesser priotiy then window env', function(done) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this test, we should keep it but update it

@camdecoster

Copy link
Copy Markdown
Contributor Author

To close the loop, I dropped the test updates from this PR and Emily will manage those in a separate PR.

@camdecoster camdecoster merged commit b492531 into master Jun 18, 2026
84 of 85 checks passed
@camdecoster camdecoster deleted the cam/7847/remove-karma-import branch June 18, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

An unused dev-dependency is loaded in the source code

3 participants