/// // The angular testing library now requires this function call to happen once // and only once across all test files. // Instead of picking one arbitrary test and placing the call there, // it makes sense to put the call here. // While this file is not a spec itself, this file has to follow the // .spec convention to be // picked up by karma through the karma.shim.js shim. import { TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS } from '@angular/platform-browser-dynamic/testing'; import {setBaseTestProviders} from '@angular/core/testing'; setBaseTestProviders( TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS );