Comments (4)
What ? That's exactly what this example does https://github.com/vojtajina/ng-directive-testing/blob/master/testacular.conf.js#L31 :-) Am I missing something ?
from ng-directive-testing.
Wow, I definitely missed that. So what exactly does setting the preprocessor in the testacular config do? Since the grunt runner already creates the template.html.js files with the html2js task?
from ng-directive-testing.
These are two ways how to achieve the same thing, the grunt was there,
before Testacular supported preprocessors.
Using the preprocessor is better, because 1/ you don't have to start extra
command 2/ testacular only compiles the stuff that changed.
On Sat, Mar 9, 2013 at 3:54 PM, Jonathan Perl [email protected]:
Wow, I definitely missed that. So what exactly does setting the
preprocessor in the testacular config do? Since the grunt filehttps://github.com/vojtajina/ng-directive-testing/blob/master/grunt.js#L11already creates the template.html.js files with the html2js
taskhttps://github.com/vojtajina/ng-directive-testing/blob/master/grunt.js#L24
?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-14673271
.
from ng-directive-testing.
@vojtajina Got it. Thanks!
from ng-directive-testing.
Related Issues (9)
- Unit Test Karma Jasmine SyntaxError: Parse error on "&" Angular Directive binding
- getting error [launcher] Error: SyntaxError: Unexpected token . while running protractor test
- karma error: Uncaught SyntaxError: Unexpected token < HOT 11
- When templateUrl and actual file location are different HOT 7
- Getting illegal token error HOT 4
- Testing directives that have a require: ^parentDirective HOT 1
- templateUrl testing HOT 6
- Using two-way binding on the directive attributes fails in testing
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 ng-directive-testing.