Skip to content

Tests: move bindNullEngine to helper module - #391

Open
AndrewFerr wants to merge 1 commit into
turt2live:mainfrom
element-hq:af/move-test-helper-fn
Open

AndrewFerr wants to merge 1 commit into
turt2live:mainfrom
element-hq:af/move-test-helper-fn

Conversation

@AndrewFerr

Copy link
Copy Markdown
Contributor

When it is imported from CryptoClientTest, it causes Jest to parse the tests in that file multiple times. Moving it to a standalone, non-test module avoids that.

Checklist

  • Tests written for all new code (existing tests pass)
  • Linter has been satisfied
  • Sign-off given on the changes (see CONTRIBUTING.md)

Signed-off-by: Andrew Ferrazzutti andrewf@element.io

When it is imported from CryptoClientTest, it causes Jest to parse the
tests in that file multiple times.  Moving it to a standalone, non-test
module avoids that.

This branch has not been deployed

No deployments
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.

1 participant