diff options
author | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-10-21 14:49:18 +0000 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-10-28 10:28:19 +0100 |
commit | 34100f17754da189f288fc8a7ae3910c254d1028 (patch) | |
tree | a4ba2c31de6b6ac8dbbd9d11311eabbefadb3330 /core/js/tests | |
parent | 72aeb8ef05e3d2b1cf63c659648ad8659474903b (diff) | |
download | nextcloud-server-34100f17754da189f288fc8a7ae3910c254d1028.tar.gz nextcloud-server-34100f17754da189f288fc8a7ae3910c254d1028.zip |
Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js/tests')
-rw-r--r-- | core/js/tests/specs/coreSpec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js index 062bf1a94df..13a8d4a0494 100644 --- a/core/js/tests/specs/coreSpec.js +++ b/core/js/tests/specs/coreSpec.js @@ -640,7 +640,7 @@ describe('Core base tests', function() { expect($row.length).toEqual(0); }); it('hides itself after a given time', function() { - OC.Notification.showTemporary('', {timeout: 10}); + OC.Notification.showTemporary('', {timeout: 10000}); var $row = $('body .toastify'); expect($row.length).toEqual(1); @@ -660,7 +660,7 @@ describe('Core base tests', function() { }); describe('show', function() { it('hides itself after a given time', function() { - OC.Notification.show('', {timeout: 10}); + OC.Notification.show('', {timeout: 10000}); var $row = $('body .toastify'); expect($row.length).toEqual(1); @@ -685,7 +685,7 @@ describe('Core base tests', function() { }); describe('showHtml', function() { it('hides itself after a given time', function() { - OC.Notification.showHtml('<p></p>', {timeout: 10}); + OC.Notification.showHtml('<p></p>', {timeout: 10000}); var $row = $('body .toastify'); expect($row.length).toEqual(1); @@ -730,7 +730,7 @@ describe('Core base tests', function() { it('hides a notification before its timeout expires', function() { var hideCallback = sinon.spy(); - var notification = OC.Notification.show('', {timeout: 10}); + var notification = OC.Notification.show('', {timeout: 10000}); var $row = $('body .toastify'); expect($row.length).toEqual(1); @@ -766,7 +766,7 @@ describe('Core base tests', function() { }); it('cumulates several notifications', function() { var $row1 = OC.Notification.showTemporary('One'); - var $row2 = OC.Notification.showTemporary('Two', {timeout: 2}); + var $row2 = OC.Notification.showTemporary('Two', {timeout: 2000}); var $row3 = OC.Notification.showTemporary('Three'); var $el = $('body'); |