Angular LMS app
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.

12345678910111213141516171819202122232425
  1. // This file is required by karma.conf.js and loads recursively all the .spec and framework files
  2. import 'zone.js/dist/zone-testing';
  3. import { getTestBed } from '@angular/core/testing';
  4. import {
  5. BrowserDynamicTestingModule,
  6. platformBrowserDynamicTesting
  7. } from '@angular/platform-browser-dynamic/testing';
  8. declare const require: {
  9. context(path: string, deep?: boolean, filter?: RegExp): {
  10. keys(): string[];
  11. <T>(id: string): T;
  12. };
  13. };
  14. // First, initialize the Angular testing environment.
  15. getTestBed().initTestEnvironment(
  16. BrowserDynamicTestingModule,
  17. platformBrowserDynamicTesting()
  18. );
  19. // Then we find all the tests.
  20. const context = require.context('./', true, /\.spec\.ts$/);
  21. // And load the modules.
  22. context.keys().map(context);