menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
Team

Failed tests in apollo-angular master

March 6, 2020 at 12:32pm

Failed tests in apollo-angular master

March 6, 2020 at 12:32pm
Hey, I want to contribute some in apollo-angular but when I run yarn test I have some failed tests
---------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---------------|----------|----------|----------|----------|-------------------|
All files | 100 | 85.71 | 100 | 100 | |
SelectPipe.ts | 100 | 85.71 | 100 | 100 | 7 |
---------------|----------|----------|----------|----------|-------------------|
Test Suites: 7 failed, 1 passed, 8 total
Tests: 5 passed, 5 total
Snapshots: 0 total
Time: 9.167s
Ran all test suites.
did I miss some configuration or it's the current state of master?

March 6, 2020 at 1:32pm
I think I figured this out
the problem was in wrong configuration. You need to do npx lerna bootstrap and yarn build to link and prebuild all packages
it would be nice to have this info in contributing guide
Edited
like-fill
1
  • reply
  • like

March 9, 2020 at 1:53pm