-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.js
25 lines (20 loc) · 862 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
/*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/mocha-patch';
import 'zone.js/dist/async-test';
import 'zone.js/dist/fake-async-test';
var testsContext = require.context('./client', true, /\.(spec|test)\.ts$/);
// testsContext.keys().forEach(testsContext);
testsContext('./app/main/main.component.spec.ts');
testsContext('./components/util.spec.ts');
testsContext('./components/oauth-buttons/oauth-buttons.component.spec.ts');
import { TestBed, getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting,
} from '@angular/platform-browser-dynamic/testing';
TestBed.initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());