[Pkg-javascript-commits] [backbone] 53/173: enable QUnit.config.noglobals in tests
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 07:44:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository backbone.
commit 15ac7503b2451369ac39b1693a8d2aedb5a89698
Author: Adam Krebs <amk528 at cs.nyu.edu>
Date: Thu Nov 12 14:26:19 2015 -0500
enable QUnit.config.noglobals in tests
---
test/setup/environment.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/setup/environment.js b/test/setup/environment.js
index 309f23c..c2441ac 100644
--- a/test/setup/environment.js
+++ b/test/setup/environment.js
@@ -8,6 +8,8 @@
var pushState = history.pushState;
var replaceState = history.replaceState;
+ QUnit.config.noglobals = true;
+
QUnit.testStart(function() {
var env = QUnit.config.current.testEnvironment;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list