fusionjs / fusion-test-utils

Migrated to https://github.com/fusionjs/fusionjs
MIT License
5 stars 17 forks source link

Better jest integration #160

Closed supersonicclay closed 6 years ago

supersonicclay commented 6 years ago

Type of issue

Feature request

Description

Currently jest's test is wrapped, but none of the other jest functions seem to be. Users should be able to use the following:

Your environment

KevinGrandon commented 6 years ago

Hello, thanks for filing this issue. You can actually use all of these methods as globals as we're still just running jest, so all standard jest syntax is supported. Please let us know if you have any problems using describe() today.

We are currently evaluating using just jest in the future, and are tracking that here: https://github.com/fusionjs/fusion-cli/issues/337 We will probably re-evaluate our recommended test API and assertions at the same time.

supersonicclay commented 6 years ago

That'd be great. Thanks!