/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
adev/src/app/core/services/example-content-loader.service.spec.ts
27 строк
744 B
Joey Perrott
refactor(docs-infra): remove shared code from adev in favor of loading from dev-infra common package (#53214)
29 ноя 2023, 23:37
29 ноя 2023, 23:37
fc3e41c
Код
Авторство
О чём код?
/*! * @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 {TestBed} from '@angular/core/testing'; import {ExampleContentLoader} from './example-content-loader.service'; import {PREVIEWS_COMPONENTS} from '@angular/docs'; describe('ExampleContentLoader', () => { let service: ExampleContentLoader; beforeEach(() => { TestBed.configureTestingModule({ providers: [ExampleContentLoader, {provide: PREVIEWS_COMPONENTS, useValue: []}], }); service = TestBed.inject(ExampleContentLoader); }); it('should be created', () => { expect(service).toBeTruthy(); }); });