Comments (1)
If you want automatically setup DOM fixtures before each test spec. What you are thinking right now is correct.
But I don't think you need to modify any files of this template.
Try to have a look at jasmine-jquery, loadFixtures() helper method should meet your requirement.
Finally, your problem isn't related with this template.
from grunt-template-jasmine-requirejs.
Related Issues (20)
- Script load reorder option HOT 1
- Empty `context.outfile` HOT 1
- Some errors are not caught correctly HOT 2
- Wait for the dom to be ready HOT 1
- Relative protocol not supported
- no polyfills HOT 2
- Vendor script with UMD makes require complain HOT 2
- PR 65 has had some interesting side-effects HOT 1
- Stack overflow when spec files are in sub folder of .grunt without sub folders HOT 1
- when spec file is in .grunt/grunt-contrib-jasmine the link to require.js starts with a slash
- Script files seem to be in a different order now HOT 5
- src/templates/jasmine-requirejs.html styles needs to support less HOT 2
- Add polyfills back in template HOT 1
- Error when using with requirejs-text plugin HOT 3
- Backslash in script path HOT 1
- Integrated with jasmine-jquery HOT 1
- Does not support Lodash 3+ HOT 1
- PhantomJS timed out HOT 2
- require.js file now being written to project root HOT 2
- Building error on version 12.2.0 on-prem
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 grunt-template-jasmine-requirejs.