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

Clarify tests #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Clarify tests #4

wants to merge 3 commits into from

Conversation

Frikki
Copy link
Member

@Frikki Frikki commented Apr 6, 2019

This PR sets up tsconfigs to avoid type check errors and conflicts between @typed/test and microbundle. It does so by extending a base configuration in for both production and testing environments. The latter prepares the setup for @typed/test v10.0, where a tsconfig can be specified. The PR also factors out details and adds comments to tests by applying the four-phase testing pattern to increase the readability and understanding of the tests.

Frikki added 2 commits April 6, 2019 13:15
This commit sets up tsconfigs to avoid type check errors and
conflicts between @typed/test and microbundle.

It does so by extending a base configuration in for both production
and testing environments. The latter prepares the setup for
@typed/test v10.0, where a tsconfig can be specified.

Signed-off-by: Frederik Krautwald <fkrautwald@gmail.com>
This commit factors out details and adds comments by applying the
four-phase testing pattern to increase the readability and
understanding of the tests.

Signed-off-by: Frederik Krautwald <fkrautwald@gmail.com>
Copy link
Member

@briancavalier briancavalier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for taking a while to review 😬 Overall, the changes here seem good. I think we need to figure out what to do about lint and format here and in #6. If possible, I'd like to get as close to @most/core, which uses standardjs, as possible.

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