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

Run only fusion-apollo-universal-client tests in node #193

Merged
merged 3 commits into from Jan 10, 2019

Conversation

KevinGrandon
Copy link
Contributor

@KevinGrandon KevinGrandon commented Jan 10, 2019

There are currenty a handful of jest bugs when it comes to symlinks and our monorepo construction not working well together. Run tests only in node until there's upstream jest fixes or we refactor our monorepo construction. For some reasons this only occurs when these tests are run in the jsdom environment.

There are currenty a handful of jest bugs when it comes to symlinks and our monorepo construction not working well together. Run tests only in node until there's upstream jest fixes or we refactor our monorepo construction.
- name: 'fusion-apollo-universal-client test'
# Temporarily only run node env tests.
# There are some symlink issues resolving javascript files with the current monorepo construction.
command: './node_modules/.bin/lerna exec --scope fusion-apollo-universal-client yarn test --env node'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only relevant change, rest is prettier I guess.

@KevinGrandon KevinGrandon changed the title Only run fusion-apollo-universal-client tests in node Run only fusion-apollo-universal-client tests in node Jan 10, 2019
@KevinGrandon
Copy link
Contributor Author

Going to just merge this to fix release verification, but feel free to audit.

@KevinGrandon KevinGrandon merged commit 88e06fb into master Jan 10, 2019
@old-fusion-bot old-fusion-bot bot deleted the apollo-client-test-env branch January 10, 2019 18:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant