Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated spec file has ref to autoSpy but can't find autoSpy package #31

Open
jcphlux opened this issue Oct 5, 2021 · 2 comments
Open

Comments

@jcphlux
Copy link

jcphlux commented Oct 5, 2021

Just getting into creating spec files for my projects so not sure what I am missing here.
When I generated a spec for a file it added import { autoSpy } from 'autoSpy'; but cant find a package for autoSpy.

@jcphlux
Copy link
Author

jcphlux commented Oct 5, 2021

sorry did not give much details
running
Angular 12.2.3
Typescript 4.2.3
Jasmine 3.6.0
Karma 6.3.0

@gparlakov
Copy link
Owner

@jcphlux hi,
Sorry to have taken so long to respond.

This import assumes that there's a path added to tsconfig.json that would resolve to the generated auto-spy.ts

See step 3 from the https://github.com/gparlakov/scuri#command-line-setup no how to do that.

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

No branches or pull requests

2 participants