Skip to content

Commit

Permalink
feat(all): update to angular@15
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenkens committed Sep 20, 2024
1 parent 5b5b2da commit 73e6a2d
Show file tree
Hide file tree
Showing 4 changed files with 3,424 additions and 3,766 deletions.
19 changes: 0 additions & 19 deletions base.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,3 @@ import { TestBed } from "@angular/core/testing";
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from "@angular/platform-browser-dynamic/testing";

TestBed.initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting(), { teardown: { destroyAfterEach: false } });

// define global environment variable if needed
// global["ENV"] = "development";
// Then we find all the tests.

declare const require: {
context(
path: string,
deep?: boolean,
filter?: RegExp
): {
keys(): string[];
<T>(id: string): T;
};
};

const context = require.context("./src", true, /\.spec\.ts$/);
// And load the modules.
context.keys().forEach(context);
Loading

0 comments on commit 73e6a2d

Please sign in to comment.