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

Add Extrapolation mock #3293

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

maxhungry
Copy link
Contributor

Description

v2 mocks is missing Extrapolation, getting following error in test:

TypeError: Cannot read property 'CLAMP' of undefined

Changes

Add Extrapolation mock

Test code and steps to reproduce

Run test with reference to Extrapolation.CLAMP.

Checklist

  • Included code example that can be used to test this change
  • Updated TS types
  • Added TS types tests
  • Added unit / integration tests
  • Updated documentation
  • Ensured that CI passes

@piaskowyk
Copy link
Member

Hey 👋 Thanks for your PR, great job!

@piaskowyk piaskowyk self-assigned this Jun 13, 2022
@piaskowyk piaskowyk self-requested a review June 13, 2022 05:56
@piaskowyk piaskowyk merged commit 8bb2d53 into software-mansion:main Jun 13, 2022
piaskowyk pushed a commit that referenced this pull request Jun 13, 2022
## Description

v2 mocks is missing `Extrapolation`, getting following error in test:
```
TypeError: Cannot read property 'CLAMP' of undefined
```

## Changes

Add `Extrapolation` mock

<!--

## Screenshots / GIFs

Here you can add screenshots / GIFs documenting your change.

You can add before / after section if you're changing some behavior.

### Before

### After

-->

## Test code and steps to reproduce

Run test with reference to `Extrapolation.CLAMP`.

<!--
Please include code that can be used to test this change and short description how this example should work.
This snippet should be as minimal as possible and ready to be pasted into editor (don't exclude exports or remove "not important" parts of reproduction example)
-->

## Checklist

- [ ] Included code example that can be used to test this change
- [ ] Updated TS types
- [ ] Added TS types tests
- [ ] Added unit / integration tests
- [ ] Updated documentation
- [x] Ensured that CI passes
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