You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a copy of the issue created by @DaSchTour#223 on the older repo.
Is your feature request related to a problem? Please describe.
Because of this thymikee/jest-preset-angular#963 bug, it is not possible to write tests with generated services.
Describe the solution you'd like
Imports for angular-apollo should be changed from import * as Apollo from 'apollo-angular'; to import {Apollo, ...} from 'apollo-angular'
Describe alternatives you've considered
Hacky solutions described in the jest-preset-angular issue like including the generated ts files in tsconfig.spec.json which might have other unknown effects like including too many files which are not required
The text was updated successfully, but these errors were encountered:
Creating a copy of the issue created by @DaSchTour #223 on the older repo.
Is your feature request related to a problem? Please describe.
Because of this thymikee/jest-preset-angular#963 bug, it is not possible to write tests with generated services.
Describe the solution you'd like
Imports for angular-apollo should be changed from import * as Apollo from 'apollo-angular'; to import {Apollo, ...} from 'apollo-angular'
Describe alternatives you've considered
Hacky solutions described in the jest-preset-angular issue like including the generated ts files in tsconfig.spec.json which might have other unknown effects like including too many files which are not required
The text was updated successfully, but these errors were encountered: