freenowtech / freenowtech/wave

Modal | Migrating to Javascript default parameters

Open
#509 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
67
Forks
31
Avg merge
1d 8h
Merged PRs (30d)
4

Description

- `@freenow/wave` version: `2.21.2`

### Relevant code

```js
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.