{"version":3,"sources":["jsdelivr-header.js","/npm/rehab-fe-skeleton-testsuite@5.0.0/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aAGA,IAAI,MAAQ,QAAQ,SAEpB,OAAO,QAAU,CAQb,SAAU,SAAS,EAAe,GACb,IAAI,MAAM,OAAO,GAAe,SAAS,GAC5B,mBAAhB,EACN,EAAU,GAEV,QAAQ,KAAK,EAErB,IAEW,OACf","file":"/npm/rehab-fe-skeleton-testsuite@5.0.0/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/rehab-fe-skeleton-testsuite@5.0.0/src/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\n\n// Loading dependencies.\nvar karma = require('karma');\n\nmodule.exports = {\n    /**\n     * Run the test suite with the supplied settings and\n     * callback function.\n     *\n     * @param {Object} karmaSettings - Options for Karma.\n     * @param {Function} resolveFn - Gulp async function.\n     */\n    runTests: function(karmaSettings, resolveFn) {\n        var testServer = new karma.Server(karmaSettings, function(exitCode) {\n            if (typeof(resolveFn) === 'function') {\n                resolveFn(exitCode);\n            } else {\n                process.exit(exitCode);\n            }\n        });\n\n        testServer.start();\n    }\n};"]}