Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame] | 1 | Error.stackTraceLimit = Infinity; |
| 2 | |
| 3 | require('core-js/client/shim'); |
| 4 | |
| 5 | require('@angular/common'); |
| 6 | require('rxjs'); |
| 7 | |
| 8 | require('zone.js/dist/zone'); |
| 9 | require('zone.js/dist/long-stack-trace-zone'); |
| 10 | require('zone.js/dist/proxy'); |
| 11 | require('zone.js/dist/sync-test'); |
| 12 | require('zone.js/dist/jasmine-patch'); |
| 13 | require('zone.js/dist/async-test'); |
| 14 | require('zone.js/dist/fake-async-test'); |
| 15 | const context = require.context('./app', true, /\.(js|ts|tsx)$/); |
| 16 | context.keys().forEach(context); |
| 17 | const testing = require('@angular/core/testing'); |
| 18 | const testingBrowser = require('@angular/platform-browser-dynamic/testing'); |
| 19 | |
| 20 | testing.TestBed.initTestEnvironment(testingBrowser.BrowserDynamicTestingModule, testingBrowser.platformBrowserDynamicTesting()); |