Skip to content
This repository has been archived by the owner on Sep 16, 2018. It is now read-only.

Libraries generated by cli using ng generate library creates a subproject using Karma intead of Jest #9

Closed
frenetic opened this issue Sep 13, 2018 · 2 comments

Comments

@frenetic
Copy link

Describe the bug
After using this schematics to convert my project into a Jest one, I expected all libs I created to also be Jest projects.

To Reproduce
Steps to reproduce the behavior:

  1. Install @angular/cli
  2. npm install -g @briebug/jest
  3. ng new example
  4. cd example
  5. ng add @briebug/jest
  6. ng generate library foolib

Expected behavior
The library should be configured to be tested with Jest.

Additional context
Using @briebug/jest at v1.3

Angular CLI: 6.1.5
Node: 8.11.4
OS: linux x64
Angular:
@angular-devkit/architect 0.7.5
@angular-devkit/core 0.7.5
@angular-devkit/schematics 0.7.5
@schematics/angular 0.7.5
@schematics/update 0.7.5
rxjs 6.3.2
typescript 2.9.2

@frenetic
Copy link
Author

frenetic commented Sep 13, 2018

First of all, thank you for this schematics/helper. It is just what I was looking for.
Im new to this schematics thing. Because of that, I was not able to find a way to provide a fix for this... sorry

@schuchard
Copy link
Collaborator

Hi @frenetic, thank you using this schematic and letting us know about the libs issue. That's something we'd like to see too!

We're renaming this package to @briebug/jest-schematic and archiving this repo. Would you mind opening this issue there so we can track it? https://github.com/briebug/jest-schematic. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants