diff options
author | 2019-12-18 22:32:06 +0530 | |
---|---|---|
committer | 2019-12-18 22:41:02 +0530 | |
commit | 1515595ee5302e3380a65a7c7cace0905e2a38f1 (patch) | |
tree | eeb7a4cf8ef12bf762eaa025d09d2d07eb1274e9 /portal-FE-os/src/test.ts | |
parent | 89498fdaf633640c04f9179e0d1514a89f36a18e (diff) |
Added portal-FE-os project
Added portal-FE-os project and included layout components which is
having header,footer,global-serach,header-menu,search-users,sidebar,tabbar,userbar components.
Removed layout components from portal-FE-common
Issue-ID: PORTAL-795
Change-Id: I5764a851ef3b1ba701117759dac38909f129aabd
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
Diffstat (limited to 'portal-FE-os/src/test.ts')
-rw-r--r-- | portal-FE-os/src/test.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/portal-FE-os/src/test.ts b/portal-FE-os/src/test.ts new file mode 100644 index 00000000..16317897 --- /dev/null +++ b/portal-FE-os/src/test.ts @@ -0,0 +1,20 @@ +// 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); |