Skip to content

Modal | Migrating to Javascript default parameters #509

Description

@lloydaf
  • @freenow/wave version: 2.21.2

Relevant code

expect(consoleErrorSpy).not.toHaveBeenCalled()

What was expected to happen?

When running the tests, wave's Modal is throwing the following deprecation error messages (check screenshot) that causes the tests to fail.

Image

Reproduction

Not sure how to reproduce this, this was seen from a vitest test environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions