/
tsv-dd
/
JDocumentFlow
Обзор
Документация
Войти
/
tsv-dd
/
JDocumentFlow
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/test.ts
20 строк
642 B
Тепляшин Сергей
Версия 09.01.2019
09 янв 2019, 22:14
09 янв 2019, 22:14
70abb55
Код
Авторство
О чём код?
// This file is required by karma.conf.js and loads recursively all the .spec and framework files import 'zone.js/dist/zone-testing'; import { getTestBed } from '@angular/core/testing'; import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; declare const require: any; // First, initialize the Angular testing environment. getTestBed().initTestEnvironment( BrowserDynamicTestingModule, platformBrowserDynamicTesting() ); // Then we find all the tests. const context = require.context('./', true, /\.spec\.ts$/); // And load the modules. context.keys().map(context);