-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec.js
26 lines (20 loc) · 803 Bytes
/
spec.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
'use strict';
/*eslint-env node*/
import 'babel-polyfill';
import 'zone.js/dist/zone';
import 'zone.js/dist/long-stack-trace-zone';
import 'zone.js/dist/proxy';
import 'zone.js/dist/sync-test';
import 'zone.js/dist/jasmine-patch';
import 'zone.js/dist/async-test';
import 'zone.js/dist/fake-async-test';
var testsContext = require.context('./client', true, /\.(spec|test)\.js$/);
// testsContext.keys().forEach(testsContext);
testsContext('./app/main/main.component.spec.js');
testsContext('./components/util.spec.js');
import { TestBed, getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';
TestBed.initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());