From 6fe97c3e61a469000d96005a952c4a9f0a4791ad Mon Sep 17 00:00:00 2001 From: Enzo Rivello Date: Fri, 3 Jun 2016 01:32:04 +0100 Subject: [PATCH] changing karma format from register to cjs, as reported https://github.com/karma-runner/karma/issues/2042 --- ng2-components/ng2-alfresco-core/karma-test-shim.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ng2-components/ng2-alfresco-core/karma-test-shim.js b/ng2-components/ng2-alfresco-core/karma-test-shim.js index a9ff64301c4..55532966a3f 100644 --- a/ng2-components/ng2-alfresco-core/karma-test-shim.js +++ b/ng2-components/ng2-alfresco-core/karma-test-shim.js @@ -11,12 +11,12 @@ System.config({ packages: { 'base/dist': { defaultExtension: 'js', - format: 'register', + format: 'cjs', map: Object.keys(window.__karma__.files).filter(onlyAppFiles).reduce(createPathRecords, {}) }, 'ng2-translate': { defaultExtension: 'js', - format: 'register' + format: 'cjs' } }, map: {