Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Add initial unit tests #41

Merged
merged 2 commits into from Feb 6, 2018
Merged

Conversation

KevinGrandon
Copy link
Contributor

It seems that packages with no tests fail to build with the latest create-universal-package. Adding a simple test to fix this.

It seems that packages with no tests fail to build with the latest create-universal-package. Adding a simple test to fix this.
@rtsao
Copy link
Member

rtsao commented Feb 6, 2018

Hmm, bug... or feature? 😅

@KevinGrandon
Copy link
Contributor Author

Hmm, bug... or feature? 😅

Hah, doesn't matter to me. I think jest recently started failing when there was no tests found. Guess there should at least be some kind of error message.

Seems that this is failing to build for some reason, not sure why yet.

@rtsao
Copy link
Member

rtsao commented Feb 6, 2018

Strange, at least locally it builds fine (after upgrading cup)

@KevinGrandon
Copy link
Contributor Author

Strange, at least locally it builds fine (after upgrading cup)

Ah, problem was that the Dockerfile had an optimized layer caching strategy (only add package info and cache node_modules). With CUP we transpile after building which is good and bad, but doesn't allow us to have super-efficient dockerfiles. Still need to figure out the best strategy here.

@KevinGrandon KevinGrandon changed the title Add tests for CUP upgrade Add initial unit tests Feb 6, 2018
@KevinGrandon
Copy link
Contributor Author

!merge

@old-fusion-bot old-fusion-bot bot merged commit b16da53 into fusionjs:master Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants