-
Notifications
You must be signed in to change notification settings - Fork 16
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
Template uses 10 years old sinon version #34
Comments
Also, since the template is using sinon-qunit it will break if you add a later version as "sinon.test" function is not available. and removed the sinon-qunit line |
@saard what's the benefit of using sinon-qunit? I couldn't find any documentation 🤷🏻 At least my qunit tests run perfectly fine without it (using sinon nevertheless) |
@heimwege no benefit, it's really old. |
@saard thanks for the update. That's good news for me as I'm using the preview middleware for the on-the-fly generation of the test glue code. The sinon-qunit is not part of the template (because I didn't know what it is used for and everything worked perfectly fine without it, so I didn't add it 😄). So somehow this issue is now linked to #35 🙈 |
generator-ui5-ts-app/generators/app/templates/webapp/test/unit/unitTests.qunit.html
Line 23 in efc3841
loads "sinon.js" from UI5's thirdparty folder, which means it's super-old.
The text was updated successfully, but these errors were encountered: