/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v20.3.26
adev/test-main.ts
18 строк
603 B
Andrew Scott
refactor(docs-infra): Remove rethrowing error handler (#61243)
09 май 2025, 20:40
09 май 2025, 20:40
3c9b8d9
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {NgModule, provideZonelessChangeDetection} from '@angular/core'; import {TestBed} from '@angular/core/testing'; import {BrowserTestingModule, platformBrowserTesting} from '@angular/platform-browser/testing'; @NgModule({ providers: [provideZonelessChangeDetection()], }) export class TestModule {} TestBed.initTestEnvironment([BrowserTestingModule, TestModule], platformBrowserTesting());