diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-10-04 19:32:12 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-10-04 19:32:12 +0200 |
commit | 32587d70073f7df25a997708afb8bbaf6fc943ba (patch) | |
tree | 60d40b9a90eb2d0cca46e1f47a82977fd3959c4e /core/js | |
parent | 6c489a6d4072d5c1a81c248004ba0e66607a0393 (diff) | |
download | nextcloud-server-32587d70073f7df25a997708afb8bbaf6fc943ba.tar.gz nextcloud-server-32587d70073f7df25a997708afb8bbaf6fc943ba.zip |
Remove the tests since the library is tested
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/tests/specs/coreSpec.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js index f8c0e64a426..70c8a27c14e 100644 --- a/core/js/tests/specs/coreSpec.js +++ b/core/js/tests/specs/coreSpec.js @@ -132,17 +132,6 @@ describe('Core base tests', function() { expect(OC.dirname('/subdir/')).toEqual('/subdir'); }); }); - describe('escapeHTML', function() { - it('Returns nothing if no string was given', function() { - expect(escapeHTML('')).toEqual(''); - }); - it('Returns a sanitized string if a string containing HTML is given', function() { - expect(escapeHTML('There needs to be a <script>alert(\"Unit\" + \'test\')</script> for it!')).toEqual('There needs to be a <script>alert("Unit" + 'test')</script> for it!'); - }); - it('Returns the string without modification if no potentially dangerous character is passed.', function() { - expect(escapeHTML('This is a good string without HTML.')).toEqual('This is a good string without HTML.'); - }); - }); describe('joinPaths', function() { it('returns empty string with no or empty arguments', function() { expect(OC.joinPaths()).toEqual(''); |