-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
can't use Qunit's new before and after hooks #229
Comments
What happens if you add "qunit": "~1.32.1" to your bower.json file? |
Updated issue to reflect this is Qunit 1.23.1. I added and still don't get the before hook.... It could be something I've hosed... I have no idea if this is related, but in dist I have a test-support.js and it has a queueHook function:
In Qunit 1.23.1 this function also exists but it has a different signature:
This is important for getting the before hook to work. |
The |
I'll close this and expect that ember-qunit will default to qunit 2 soon. |
Qunit 1.23.1 introduced before and after hooks that run before a module and after module. This supplement the beforeEach and afterEach that run before and after each test.
So far I have been unable to get the before hook to be invoked. I put a sample project at https://github.com/adhamhf/acceptance-qunit-before. The qunit-before-test.js acceptance test should log a message from before, but I never see that message.
Suggestions?
The text was updated successfully, but these errors were encountered: