diff --git a/index.js b/index.js index efa712b..49764cd 100644 --- a/index.js +++ b/index.js @@ -36,7 +36,7 @@ var JUnitReporter = function (baseReporterDecorator, config, logger, helper, for } ] - var initliazeXmlForBrowser = function (browser) { + var initializeXmlForBrowser = function (browser) { var timestamp = (new Date()).toISOString().substr(0, 19) var suite = suites[browser.id] = builder.create('testsuite') suite.att('name', browser.name) @@ -93,11 +93,11 @@ var JUnitReporter = function (baseReporterDecorator, config, logger, helper, for suites = Object.create(null) // TODO(vojta): remove once we don't care about Karma 0.10 - browsers.forEach(initliazeXmlForBrowser) + browsers.forEach(initializeXmlForBrowser) } this.onBrowserStart = function (browser) { - initliazeXmlForBrowser(browser) + initializeXmlForBrowser(browser) } this.onBrowserComplete = function (browser) {