You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jasmine have ability to add custom equality testers. However when these testers added in global scope (e.g not during actual test run) using following syntax:
Jasmine have ability to add custom equality testers. However when these testers added in global scope (e.g not during actual test run) using following syntax:
they will be cleaned by jasmine adapter. Reason is that adapter recreate environment before all test are executed in the JSTD register function:
jstestdriver.pluginRegistrar.register({
});
line:
(jasmine.currentEnv_ = new Env(onTestDone, onComplete)).execute();
In order to fix this adapter should extend already instantiated environment instead of creating new.
The text was updated successfully, but these errors were encountered: