diff options
Diffstat (limited to 'web-ui/test/spec')
-rw-r--r-- | web-ui/test/spec/page/router/url_params.spec.js | 2 | ||||
-rw-r--r-- | web-ui/test/spec/tags/ui/tag_list.spec.js | 2 | ||||
-rw-r--r-- | web-ui/test/spec/tags/ui/tag_shortcut.spec.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/test/spec/page/router/url_params.spec.js b/web-ui/test/spec/page/router/url_params.spec.js index f05fa8a1..f1a5a1a5 100644 --- a/web-ui/test/spec/page/router/url_params.spec.js +++ b/web-ui/test/spec/page/router/url_params.spec.js @@ -11,7 +11,7 @@ require(['page/router/url_params'], function (urlParams) { window.onpopstate = function () {}; }); - jasmine.afterEach(function () { + afterEach(function () { document.location.hash = ''; }); diff --git a/web-ui/test/spec/tags/ui/tag_list.spec.js b/web-ui/test/spec/tags/ui/tag_list.spec.js index 85cc4509..c79bed53 100644 --- a/web-ui/test/spec/tags/ui/tag_list.spec.js +++ b/web-ui/test/spec/tags/ui/tag_list.spec.js @@ -19,7 +19,7 @@ describeComponent('tags/ui/tag_list', function () { $('body').append(tagsShortcutsContainer); }); - jasmine.afterEach(function () { + afterEach(function () { $('body')[0].removeChild(tagsShortcutsContainer[0]); }); diff --git a/web-ui/test/spec/tags/ui/tag_shortcut.spec.js b/web-ui/test/spec/tags/ui/tag_shortcut.spec.js index ebc852d0..9164507a 100644 --- a/web-ui/test/spec/tags/ui/tag_shortcut.spec.js +++ b/web-ui/test/spec/tags/ui/tag_shortcut.spec.js @@ -15,7 +15,7 @@ describeComponent('tags/ui/tag_shortcut', function () { shortcut = TagShortcut.appendedTo(parent, { linkTo: { name: 'inbox', counts: { total: 15 }}, trigger: component }); }); - jasmine.afterEach(function () { + afterEach(function () { $('body')[0].removeChild(parent[0]); }); |