Skip to content

refactor(tests): Migrate mocha tests from goog.require to import - #7196

Merged
cpcallen merged 1 commit into
RaspberryPiFoundation:developfrom
cpcallen:fix/6858/tests
Jun 22, 2023
Merged

cpcallen merged 1 commit into
RaspberryPiFoundation:developfrom
cpcallen:fix/6858/tests

Conversation

@cpcallen

Copy link
Copy Markdown
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Part of #6858.

Proposed Changes

Migrate the two remaining uses of goog.require in the mocha tests from goog.require to import.

Reason for Changes

Trying to make it possible to get rid of base.js.

Test Coverage

Passes npm test.

Migrate the two remaining uses of goog.require in the mocha tests
from goog.require to import.
@cpcallen
cpcallen requested a review from a team as a code owner June 21, 2023 21:35
@cpcallen
cpcallen requested a review from maribethb June 21, 2023 21:35
@github-actions github-actions Bot added the PR: refactor Refactors code label Jun 21, 2023
@cpcallen
cpcallen merged commit 5a39c4c into RaspberryPiFoundation:develop Jun 22, 2023
@cpcallen
cpcallen deleted the fix/6858/tests branch June 22, 2023 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: refactor Refactors code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants