aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/support
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2017-08-01 09:52:45 -0700
committerTimmy Willison <4timmywil@gmail.com>2017-12-18 12:27:38 -0500
commitecd8ddea33dc40ae2a57e4340be03faf2ba2f99b (patch)
treed0f248befa82620226708059db84bc3a7f1ec076 /test/data/support
parente84d3bc02eddeb0e0ca0438952ac560a794ff463 (diff)
downloadjquery-ecd8ddea33dc40ae2a57e4340be03faf2ba2f99b.tar.gz
jquery-ecd8ddea33dc40ae2a57e4340be03faf2ba2f99b.zip
Tests: Add support for running unit tests via grunt with karma
- Update QUnit to 1.23.1 - Remove unused dl#dl from test/index.html - Remove unused map#imgmap from test/index.html - Ensure all urls to data use baseURI - Add the 'grunt karma:main' task - customContextFile & customDebugFile - Add 'npm run jenkins' script Close gh-3744 Fixes gh-1999
Diffstat (limited to 'test/data/support')
-rw-r--r--test/data/support/csp-clean.php3
-rw-r--r--test/data/support/csp-log.php3
-rw-r--r--test/data/support/csp.php19
3 files changed, 0 insertions, 25 deletions
diff --git a/test/data/support/csp-clean.php b/test/data/support/csp-clean.php
deleted file mode 100644
index e16d047a3..000000000
--- a/test/data/support/csp-clean.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- file_put_contents("csp.log", "", LOCK_EX);
-?>
diff --git a/test/data/support/csp-log.php b/test/data/support/csp-log.php
deleted file mode 100644
index efbb9d7bc..000000000
--- a/test/data/support/csp-log.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
- file_put_contents("csp.log", "error", LOCK_EX);
-?>
diff --git a/test/data/support/csp.php b/test/data/support/csp.php
deleted file mode 100644
index 446000239..000000000
--- a/test/data/support/csp.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php
- # This test page checks CSP only for browsers with "Content-Security-Policy" header support
- # i.e. no old WebKit or old Firefox
- header("Content-Security-Policy: default-src 'self'; report-uri csp-log.php");
-?>
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>CSP Test Page</title>
- <script src="../../jquery.js"></script>
- <script src="../iframeTest.js"></script>
- <script src="csp.js"></script>
- <script src="getComputedSupport.js"></script>
-</head>
-<body>
- <p>CSP Test Page</p>
-</body>
-</html>