diff --git a/tests/mithril-tests.js b/tests/mithril-tests.js index 3b33a72e..214bd316 100644 --- a/tests/mithril-tests.js +++ b/tests/mithril-tests.js @@ -951,7 +951,7 @@ function testMithril(mock) { var checkConfig = function(elem, isInitialized, ctx) { success = success && (ctx.data === idx++) } - node = m("div", {config: statefulConfig}); + node = m("div", {config: checkConfig}); m.render(root, [node, node]); return success; })