Fix license information for js modules

This commit is contained in:
Ilya Goncharov
2019-10-10 13:14:16 +03:00
parent 29cda7cb24
commit 18b287def5
4 changed files with 92 additions and 0 deletions
@@ -1,6 +1,11 @@
const util = require('util');
const resolve = require('path').resolve;
/**
* From karma
* The MIT License
* Copyright (C) 2011-2019 Google, Inc.
*/
// This ErrorFormatter is copied from standard karma's,
// but without warning in case of failed original location finding
function createFormatError(config, emitter) {
@@ -62,6 +67,11 @@ function createFormatError(config, emitter) {
};
}
/**
* From karma-teamcity-reporter.
* The MIT License
* Copyright (C) 2011-2013 Vojta Jína and contributors
*/
const escapeMessage = function (message) {
if (message === null || message === undefined) {
return ''