Comments (4)
from scuri.
I can't seem to reproduce.
I seem to remember something similar happening if the template name did not end in .template
or was using some invalid parameters/function calls....
Make sure the template ends in .template
and is valid - use some of the (examples)[https://gist.github.com/gparlakov/f299011829e229c9d37cf0cb38506d97]
from scuri.
@danjor here's a place online where we can try to reproduce your issue and fix it https://stackblitz.com/edit/scuri-1-2-0-issue-134?file=example.md
Try and reproduce it there and get back to me. (see example.md file with examples of create and update commands)
from scuri.
Hi @gparlakov
Thanks for your replies again :)
Effectively, even if you previously talked about this, I missed that point about some changes that have been done for the naming of custom template in version 1.2.0
My custom template was named spec.tmpl.
So by renaming it with specFileName.template that effectively work as expected.
So there is no issue in fact.
from scuri.
Related Issues (20)
- Delete the whole expression when removing dependencies HOT 1
- Add default Observable (EMPTY) and default Promise (new Promise()) values for dependency method spy return values.
- Lint on commit
- Handle properties with Promise or Observable HOT 1
- Handle update with a custom template without any custom functions
- Check for import of autoSpy when using --update on previously created spec file HOT 3
- Support inject function from angular
- Ensure jest specific mock returns are used
- Handle Arrays of deps
- Fix autoSpy import being added in the middle of other imports
- Fix adding multiple new lines when creating deps in setup method
- Combine TS Host with Tree
- Use FileVisitorCancelToken to stop after detected one or the other HOT 1
- Handle functions declared as const
- Allow for turning off the Typescript compilation dependent features as they take 5x or 10x more time
- Simplify the Observable property
- Update Scuri to support Typescript 5.0 and above HOT 1
- Don't update names of existing dependencies
- Mocking observable properties
- Handle Abstract class being dependend on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scuri.