Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for mocha tests #4004

Merged
merged 1 commit into from
Jun 26, 2020
Merged

Conversation

samelhusseini
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

Proposed Changes

Mocha tests in blockly-samples run multiple tests with the same global scope.
On subsequent tries, Blockly's document object is not reset as the global.DOMParser object had already been set on the previous iteration.

This makes it the document is set every time.

Reason for Changes

Test Coverage

Tested on:

Documentation

Additional Information

@samelhusseini samelhusseini merged commit 7e79d39 into google:develop Jun 26, 2020
@samelhusseini samelhusseini deleted the fix_multinode branch June 26, 2020 21:53
@alschmiedt alschmiedt mentioned this pull request Jun 26, 2020
3 tasks
alschmiedt added a commit that referenced this pull request Jun 26, 2020
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.

2 participants