Skip to content

Handle testing deprecated methods.#4195

Merged
moniika merged 2 commits into
RaspberryPiFoundation:developfrom
moniika:deprecated-warnings-tests
Aug 20, 2020
Merged

Handle testing deprecated methods.#4195
moniika merged 2 commits into
RaspberryPiFoundation:developfrom
moniika:deprecated-warnings-tests

Conversation

@moniika

@moniika moniika commented Aug 19, 2020

Copy link
Copy Markdown
Contributor

The basics

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

The details

Resolves

Part of #4194

Proposed Changes

Captures and tests expected deprecation warning logs.

Reason for Changes

  • Cleans up console when running mocha tests in browser
  • Adds support for testing that expected deprecation warnings were logged

Test Coverage

Ran mocha tests

Tested on:

  • Desktop Chrome

Additional Information

field_tests.js also triggers some deprecation warnings, but will be handled in separate PR.

@moniika
moniika merged commit 49e0ff4 into RaspberryPiFoundation:develop Aug 20, 2020
@moniika
moniika deleted the deprecated-warnings-tests branch August 20, 2020 00:54
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