can-stache-bindings
Advanced tools
Comparing version 4.10.7 to 4.10.8
{ | ||
"name": "can-stache-bindings", | ||
"version": "4.10.7", | ||
"version": "4.10.8", | ||
"description": "Default binding syntaxes for can-stache", | ||
@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-stache-bindings.html", |
@@ -25,3 +25,3 @@ var QUnit = require('steal-qunit'); | ||
testHelpers.makeTests("can-stache-bindings - colon - event", function(name, doc, enableMO, testIfRealDocument){ | ||
testHelpers.makeTests("can-stache-bindings - colon - event", function(name, doc, enableMO, testIfRealDocument, testIfRealDocumentInDev){ | ||
@@ -715,3 +715,3 @@ QUnit.test("on:enter", function(assert) { | ||
testIfRealDocument("warning when binding known DOM event name to view model (real test)", function(assert) { | ||
testIfRealDocumentInDev("warning when binding known DOM event name to view model", function(assert) { | ||
var teardown = canTestHelpers.dev.willWarn("The focus event is bound the view model for <warning-el>. Use on:el:focus to bind to the element instead."); | ||
@@ -718,0 +718,0 @@ viewCallbacks.tag("warning-el", function(el) { |
@@ -7,2 +7,3 @@ var globals = require('can-globals'); | ||
var makeDocument = require('can-vdom/make-document/make-document'); | ||
var canTestHelpers = require('can-test-helpers'); | ||
var helpers = { | ||
@@ -60,8 +61,10 @@ makeQUnitModule: function(name, doc, enableMO){ | ||
makeTests: function(name, makeTest) { | ||
var noop = function(){}; | ||
helpers.makeQUnitModule(name+" - dom", document, true); | ||
makeTest(name+" - dom", document, true, QUnit.test); | ||
makeTest(name+" - dom", document, true, QUnit.test, noop); | ||
makeTest(name+" - dom - dev only", document, true, noop, canTestHelpers.dev.devOnlyTest); | ||
var doc = makeDocument(); | ||
helpers.makeQUnitModule(name+" - vdom", doc, false); | ||
makeTest(name+" - vdom", doc, false, function(){}); | ||
makeTest(name+" - vdom", doc, false, noop, noop); | ||
}, | ||
@@ -68,0 +71,0 @@ |
217745
4245