20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / test / unit / helpers / javascript_helper_test.rb
diff --git a/apps/workbench/test/unit/helpers/javascript_helper_test.rb b/apps/workbench/test/unit/helpers/javascript_helper_test.rb
deleted file mode 100644 (file)
index 9d5a553..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
-
-require 'test_helper'
-
-# Tests XSS vulnerability monkeypatch
-# See: https://github.com/advisories/GHSA-65cv-r6x7-79hv
-class JavascriptHelperTest < ActionView::TestCase
-  def test_escape_backtick
-    assert_equal "\\`", escape_javascript("`")
-  end
-
-  def test_escape_dollar_sign
-    assert_equal "\\$", escape_javascript("$")
-  end
-end